SparrowEngine/CMakeLists.txt
2016-03-25 21:46:32 +01:00

18 lines
442 B
CMake

project(SparrowEngine)
cmake_minimum_required(VERSION 2.8)
# choose source file
file(GLOB LIB_SRC_LIST src/*.cpp src/tools/*.cpp)
file(GLOB LIB_HEAD_LIST src/*.h src/tools/*.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_RENDERER True)
set(USE_INPUT True)
set(USE_BULLET True)
set(SFML_MODULES audio graphics)
include(../cmaketemplate/template.cmake)