summaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
blob: 91e5b5fc272c3f60124f45cb6738608c1a71c7ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
include_directories(${SDL2_INCLUDE_DIRS})
link_directories(${SDL2_LIBRARY_DIRS})

add_executable(rpgedit
  rpgedit.cpp
  control/ImageLoader.cpp
  control/MapContext.cpp
  model/Map.cpp
  view/MapView.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})