cmake-examples/03-code-generation
2015-12-01 11:40:02 +00:00
..
configure-files Update toc and headings #3 2015-12-01 11:40:02 +00:00
protobuf Fix adoc syntax issue from issue #1 2015-11-29 21:54:27 +00:00
README.adoc update code generation readme 2015-12-01 11:39:17 +00: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 inter-operability.

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.