From 6e67a0f13263b748718c692b4c6481a70b127fda Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Mon, 22 Sep 2014 20:35:45 +0200 Subject: Initial commit --- src/CMakeLists.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/CMakeLists.txt (limited to 'src/CMakeLists.txt') diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt new file mode 100644 index 0000000..400481f --- /dev/null +++ b/src/CMakeLists.txt @@ -0,0 +1,12 @@ +include_directories(${SDL2_INCLUDE_DIRS}) +link_directories(${SDL2_LIBRARY_DIRS}) + +add_executable(rpgedit + rpgedit.cpp + control/MapContext.cpp + control/TileLoader.cpp + model/Map.cpp +) +set_target_properties(rpgedit PROPERTIES COMPILE_FLAGS "-std=c++11 -Wall ${SDL2_CFLAGS_OTHER}") +set_target_properties(rpgedit PROPERTIES LINK_FLAGS "${SDL2_LDFLAGS_OTHER}") +target_link_libraries(rpgedit ${SDL2_LIBRARIES}) -- cgit v1.2.3