1
0
mirror of synced 2024-11-11 15:38:54 +01:00
modern-cmake/chapters/basics/example.md

9 lines
441 B
Markdown
Raw Normal View History

2019-02-22 17:54:10 +01:00
# 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.
2019-03-04 19:24:21 +01:00
[import:'main', lang:'cmake'](../../examples/simple-project/CMakeLists.txt)
2019-02-22 17:54:10 +01:00
The complete example is available in [examples folder](https://gitlab.com/CLIUtils/modern-cmake/tree/master/examples/simple-project).