9 lines
397 B
Markdown
9 lines
397 B
Markdown
|
# A simple example
|
||
|
|
||
|
This is a simple yet complete example of a proper CMakeLists. For this program, we have one library (MyLibExample) with a header file and a source file,
|
||
|
and one application, MyExample, with one source file.
|
||
|
|
||
|
2[import:'main', lang:'cmake'](../../examples/simple-project/CMakeLists.txt)
|
||
|
|
||
|
The complete example is available in examples folder in the Modern CMake git repository.
|