1
0
mirror of synced 2024-12-31 17:01:33 +01:00
2024-08-15 07:04:35 +00:00

625 B

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.

:start-after: "[main]"
:end-before: "[main]"
:language: cmake

The complete example is available in examples folder.

A larger, multi-file example is also available.