removed main.cpp from the lib_src_list
This commit is contained in:
parent
6259e7261c
commit
3afc6dbf8e
@ -2,14 +2,13 @@
|
|||||||
cmake_minimum_required(VERSION 2.8)
|
cmake_minimum_required(VERSION 2.8)
|
||||||
|
|
||||||
# choose source file
|
# choose source file
|
||||||
file(GLOB LIB_SRC_LIST src/*.cpp)
|
file(GLOB LIB_SRC_LIST src/input.cpp src/keybindings.cpp src/textbuffer.cpp)
|
||||||
file(GLOB LIB_HEAD_LIST src/*.h)
|
file(GLOB LIB_HEAD_LIST src/*.h)
|
||||||
list(REMOVE_ITEM LIB_SRC_LIST src/main.cpp)
|
|
||||||
set(EXEC_SRC_LIST src/main.cpp)
|
set(EXEC_SRC_LIST src/main.cpp)
|
||||||
|
|
||||||
#set compilation option
|
#set compilation option
|
||||||
set(IS_LIBRARY True)
|
set(IS_LIBRARY True)
|
||||||
set(SFML_MODULES window)
|
set(SFML_MODULES window system)
|
||||||
|
|
||||||
set(CMAKE_TEMPLATE_PATH "../CMakeTemplate")
|
set(CMAKE_TEMPLATE_PATH "../CMakeTemplate")
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user