summaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2014-09-22 20:35:45 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2014-09-22 20:35:45 +0200
commit6e67a0f13263b748718c692b4c6481a70b127fda (patch)
treed44024c4e5da1a5c7e9860a6630b9a6281496694 /src/CMakeLists.txt
downloadrpgedit-6e67a0f13263b748718c692b4c6481a70b127fda.tar
rpgedit-6e67a0f13263b748718c692b4c6481a70b127fda.zip
Initial commit
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt12
1 files changed, 12 insertions, 0 deletions
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})