An example of how a project structure can be organised when we have a target that uses 3rd party library that we can build from source.
-
Build and run the project:
cmake -S . -B build cmake --build build build/cmake-simple-proj-w-lib
-
Verify the expected output:
/// my_lib::add_one( 2 ) returned 3