-
Notifications
You must be signed in to change notification settings - Fork 1
/
CMakeLists.txt
15 lines (11 loc) · 912 Bytes
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
cmake_minimum_required(VERSION 2.8)
set(CMAKE_C_COMPILER "/usr/bin/gcc-6")
set(CMAKE_CXX_COMPILER "/usr/bin/g++-6")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14 -Wall -fopenmp -pthread -g")
set(SRC_FILES field/field.cpp object/object.cpp do_step/dostep.cpp tile/tile.cpp generate_map/generatemap.cpp generate_objects/generateobjects.cpp main.cpp model/model.cpp item/item.cpp model_manager/modelmanager.cpp animation_state/animationstate.cpp game_item/gameitem.cpp entity/entity.cpp)
add_executable(cells ${SRC_FILES})
include_directories(/usr/include/sol/ /usr/include/lua5.3 /usr/include/qt5/QtGui /usr/include/qt5/QtCore /usr/include/qt5/)
include_directories(/usr/include/sol/ /usr/include/lua5.3)
target_link_libraries(cells sfml-window sfml-graphics sfml-system -llua5.3 -lgomp -lX11 pthread)
# install(TARGETS cells_kdevelop RUNTIME DESTINATION bin)