1
0
mirror of synced 2024-11-11 07:28:55 +01:00
modern-cmake/chapters/basics/example.md
2022-06-02 14:30:14 -04:00

570 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.

import:'main', lang:'cmake'

The complete example is available in examples folder.

A larger, multi-file example is also available.