project(SparrowSerializer) cmake_minimum_required(VERSION 2.8) set(VERSION_MAJOR 1) set(VERSION_MINOR 0) # choose source file file(GLOB LIB_SRC_LIST src/property.cpp src/serializable.cpp src/serializationmanager.cpp src/taskmanager.cpp src/provider.cpp) file(GLOB LIB_HEAD_LIST src/*.h) set(EXEC_SRC_LIST src/main.cpp) #set compilation option set(IS_LIBRARY True) set(CMAKE_TEMPLATE_PATH "../CMakeTemplate") include(${CMAKE_TEMPLATE_PATH}/template.cmake)