From 0702960731a2c95902323ad4142102f51c359af3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Wed, 1 Sep 2010 20:51:12 +0200 Subject: [PATCH] Fix problems with CMAKE names, weather tool skeleton --- tools/playground/CMakeLists.txt | 4 ++-- tools/supported/CMakeLists.txt | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/tools/playground/CMakeLists.txt b/tools/playground/CMakeLists.txt index c48ac459d..ab21e3c2d 100644 --- a/tools/playground/CMakeLists.txt +++ b/tools/playground/CMakeLists.txt @@ -61,7 +61,7 @@ ADD_EXECUTABLE(dfcopypaste copypaste.cpp) TARGET_LINK_LIBRARIES(dfcopypaste dfhack) # this needs the C bindings -IF(BUILD_DFHACK_C_BINDIGS) +IF(BUILD_DFHACK_C_BINDINGS) # for trying out some 'stuff' ADD_EXECUTABLE(dftest test.cpp) TARGET_LINK_LIBRARIES(dftest dfhack) @@ -69,7 +69,7 @@ IF(BUILD_DFHACK_C_BINDIGS) dftest RUNTIME DESTINATION bin ) -ENDIF(BUILD_DFHACK_C_BINDIGS) +ENDIF(BUILD_DFHACK_C_BINDINGS) install(TARGETS dfmoodump diff --git a/tools/supported/CMakeLists.txt b/tools/supported/CMakeLists.txt index f7006aeb2..624177d4b 100644 --- a/tools/supported/CMakeLists.txt +++ b/tools/supported/CMakeLists.txt @@ -64,6 +64,11 @@ TARGET_LINK_LIBRARIES(dfposition dfhack) ADD_EXECUTABLE(dfdoffsets dumpoffsets.cpp) TARGET_LINK_LIBRARIES(dfdoffsets dfhack) +# change the weather +ADD_EXECUTABLE(dfweather weather.cpp) +TARGET_LINK_LIBRARIES(dfweather dfhack) + + IF(UNIX) SET(CURSES_NEED_WIDE "YES") SET(CURSES_NEED_NCURSES "NO")