mirror of
https://github.com/ttroy50/cmake-examples.git
synced 2025-12-18 12:14:36 +03:00
update code generation readme
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
Examples showing code generation using various tools.
|
= Code Generation
|
||||||
|
|
||||||
Also shows how to move variables from CMAKE into source files (configure_file).
|
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.
|
||||||
|
|||||||
Reference in New Issue
Block a user