1 2 3 4 5 6
# a simple test case PROJECT (PreOrder) SET(CMAKE_IGNORE_DEPENDENCIES_ORDERING 1) ADD_SUBDIRECTORY(Library) ADD_EXECUTABLE (simple simple.cxx) TARGET_LINK_LIBRARIES(simple simpleLib)