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

11 lines
570 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,
2022-06-02 14:30:14 -04:00
and one application, MyExample, with one source file.
2019-02-22 17:54:10 +01:00
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
2020-08-03 18:16:52 -04:00
A larger, multi-file example is [also available](https://gitlab.com/CLIUtils/modern-cmake/tree/master/examples/extended-project).