Skip to content

Latest commit

 

History

History

003-code-generation

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Code Generation

Code generation can be useful to create source code in different languages from a common description file. This can reduce the amount of manual code to write and increase interoperability.

Examples showing code generation using variables from CMake and also using some common tools.

  • 01-configure-files - Using the CMake configure_file function to inject CMake variables.

  • 02-protobuf - Using Google Protocol Buffers to generate C++ source.