Open Source Your Knowledge, Become a Contributor
Technology knowledge has to be shared and made accessible for free. Join the movement.
Time Travel Interface Library
A CMake project is typically organized as a tree in a folder structure.
CMakeLists.txt adds a sub-folders to the project.
Each directory sub-folders must contain a
add_library(apple INTERFACE) add_library(fruit::apple ALIAS apple)
Add an interface library called
time_travel and with an alias
The library is in sub-folder
The library shall provide the include path
include to its dependants by using command
[project]/ +--- CMakeLists.txt +--- time_travel_interface/ | +--- CMakeLists.txt | +--- include/ | +--- time_travel/ | +--- time_travel.h +--- ...