1set(CMAKE_SUPPRESS_REGENERATION 1) 2project(LIB1) 3 4set(SOURCES lib1.cpp) 5 6add_library(lib1 ${SOURCES}) 7