1 2 3 4
include_directories("${CMAKE_CURRENT_BINARY_DIR}") file(GLOB_RECURSE SOURCES *.c) ADD_LIBRARY(common STATIC ${SOURCES})