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,
2020-08-04 00:16:52 +02:00
and one application, MyExample, with one source file.
2019-02-22 17:54:10 +01:00
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
2019-02-22 23:49:03 +01:00
The complete example is available in [examples folder ](https://gitlab.com/CLIUtils/modern-cmake/tree/master/examples/simple-project ).
2019-08-07 07:06:55 +02:00
2020-08-04 00:16:52 +02:00
A larger, multi-file example is [also available ](https://gitlab.com/CLIUtils/modern-cmake/tree/master/examples/extended-project ).