diff options
Diffstat (limited to 'tools/mapedit/CMakeLists.txt')
-rw-r--r-- | tools/mapedit/CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/mapedit/CMakeLists.txt b/tools/mapedit/CMakeLists.txt index ca44fc5..b225834 100644 --- a/tools/mapedit/CMakeLists.txt +++ b/tools/mapedit/CMakeLists.txt | |||
@@ -10,7 +10,7 @@ set(BIN_DIR ${AromatherapyMapEditor_SOURCE_DIR}/bin) | |||
10 | # selecting the build mode in their IDE | 10 | # selecting the build mode in their IDE |
11 | if (${CMAKE_CXX_COMPILER_ID} STREQUAL "GNU" OR ${CMAKE_CXX_COMPILER_ID} STREQUAL "Clang") | 11 | if (${CMAKE_CXX_COMPILER_ID} STREQUAL "GNU" OR ${CMAKE_CXX_COMPILER_ID} STREQUAL "Clang") |
12 | set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -pedantic -std=c++11") | 12 | set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -pedantic -std=c++11") |
13 | set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS} ${CMAKE_CXX_FLAGS_DEBUG} -g") | 13 | set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS} ${CMAKE_CXX_FLAGS_DEBUG} -g -O0") |
14 | set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS} ${CMAKE_CXX_FLAGS_RELEASE} -O2") | 14 | set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS} ${CMAKE_CXX_FLAGS_RELEASE} -O2") |
15 | elseif (${CMAKE_CXX_COMPILER_ID} STREQUAL "MSVC") | 15 | elseif (${CMAKE_CXX_COMPILER_ID} STREQUAL "MSVC") |
16 | if (CMAKE_CXX_FLAGS MATCHES "/W[0-4]") | 16 | if (CMAKE_CXX_FLAGS MATCHES "/W[0-4]") |
@@ -46,6 +46,7 @@ add_executable(AromatherapyMapEditor | |||
46 | src/object.cpp | 46 | src/object.cpp |
47 | src/world.cpp | 47 | src/world.cpp |
48 | src/undo.cpp | 48 | src/undo.cpp |
49 | src/mapselect_combo.cpp | ||
49 | ) | 50 | ) |
50 | target_link_libraries(AromatherapyMapEditor ${ALL_LIBS}) | 51 | target_link_libraries(AromatherapyMapEditor ${ALL_LIBS}) |
51 | install(TARGETS AromatherapyMapEditor RUNTIME DESTINATION ${BIN_DIR}) | 52 | install(TARGETS AromatherapyMapEditor RUNTIME DESTINATION ${BIN_DIR}) |