1
0
mirror of synced 2024-12-23 05:00:01 +01:00

10 lines
571 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 18:24:21 +00: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).
2019-08-07 05:06:55 +00:00
A larger, multi-file example is [also available](https://gitlab.com/CLIUtils/modern-cmake/tree/master/examples/extended-project).