project(SparrowInput) cmake_minimum_required(VERSION 2.8) # choose source file file(GLOB LIB_SRC_LIST src/*.cpp) file(GLOB LIB_HEAD_LIST src/*.h) list(REMOVE_ITEM LIB_SRC_LIST src/main.cpp) set(EXEC_SRC_LIST src/main.cpp) #set compilation option set(IS_LIBRARY True) set(USE_SFML True) include(../cmaketemplate/template.cmake)