Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

There has always been the include() command in CMake, so you can just do:

include(buildLibA.txt)
include(LibB/CMakeLists.txt)

Or, for the second case, add_subdirectory() would be better:

include(buildLibA.txt)
add_subdirectory(LibB)