cmake-examples/03-code-generation
2020-01-17 19:48:14 -05:00
..
configure-files Update to minimum CMake 3.5 2018-03-18 17:23:57 +00:00
protobuf Update to minimum CMake 3.5 2018-03-18 17:23:57 +00:00
README.adoc spelling fixes 2020-01-17 19:48:14 -05:00

= 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.

  * link:configure-files[configure-file] - Using the CMake configure_file function to inject CMake variables.
  * link:protobuf[Protocol Buffers] - Using Google Protocol Buffers to generate C++ source.