1 2 3 4 5
# a simple test case PROJECT (simple) ADD_EXECUTABLE (simple simple.cxx) ADD_LIBRARY(simpleLib STATIC simpleLib.cxx) TARGET_LINK_LIBRARIES(simple simpleLib)