2009-09-13 18:02:46 -06:00
|
|
|
# don't use this file directly. use the one in the root folder of the project
|
|
|
|
|
|
|
|
# this is required to ensure we use the right configuration for the system.
|
|
|
|
IF(UNIX)
|
|
|
|
add_definitions(-DLINUX_BUILD)
|
|
|
|
ENDIF(UNIX)
|
|
|
|
|
|
|
|
# a reveal clone
|
2009-10-29 18:56:40 -06:00
|
|
|
ADD_EXECUTABLE(dfreveal reveal.cpp)
|
|
|
|
TARGET_LINK_LIBRARIES(dfreveal dfhack)
|
2009-09-13 18:02:46 -06:00
|
|
|
|
|
|
|
# prospector - produces a list of available materials and their quantities
|
2009-10-29 18:56:40 -06:00
|
|
|
ADD_EXECUTABLE(dfprospector prospector.cpp)
|
|
|
|
TARGET_LINK_LIBRARIES(dfprospector dfhack)
|
2009-09-13 18:02:46 -06:00
|
|
|
|
|
|
|
# cleanmap - removes mud, snow, blood and similar stuff from a map. farmers beware
|
2010-04-02 19:52:46 -06:00
|
|
|
#ADD_EXECUTABLE(dfcleanmap cleanmap.cpp)
|
|
|
|
#TARGET_LINK_LIBRARIES(dfcleanmap dfhack)
|
2009-10-23 04:54:24 -06:00
|
|
|
|
2010-03-26 05:20:30 -06:00
|
|
|
IF(UNIX)
|
|
|
|
# incrementalsearch - a bit like cheat engine, only DF-specific, very basic
|
|
|
|
# and Linux-only
|
2010-02-15 23:21:38 -07:00
|
|
|
ADD_EXECUTABLE(dfincremental incrementalsearch.cpp)
|
|
|
|
TARGET_LINK_LIBRARIES(dfincremental dfhack)
|
2010-03-26 05:20:30 -06:00
|
|
|
ENDIF(UNIX)
|
2009-11-17 07:52:47 -07:00
|
|
|
|
2010-02-06 19:55:54 -07:00
|
|
|
# bauxite - turn all mechanisms into bauxite mechanisms
|
|
|
|
# Author: Alex Legg
|
2010-04-02 19:52:46 -06:00
|
|
|
#ADD_EXECUTABLE(dfbauxite dfbauxite.cpp)
|
|
|
|
#TARGET_LINK_LIBRARIES(dfbauxite dfhack)
|
2010-02-06 19:55:54 -07:00
|
|
|
|
2010-02-18 18:13:53 -07:00
|
|
|
# digger - designate for digging by tile class
|
|
|
|
# Author: mizipzor
|
2010-04-02 19:52:46 -06:00
|
|
|
#ADD_EXECUTABLE(dfdigger digger.cpp)
|
|
|
|
#TARGET_LINK_LIBRARIES(dfdigger dfhack)
|
2010-02-18 18:13:53 -07:00
|
|
|
|
2010-03-26 05:20:30 -06:00
|
|
|
# itemdesignator - change some item designations (dump, forbid, on-fire) for all
|
|
|
|
# items of a given type and material
|
|
|
|
# Author: belal
|
2010-04-02 19:52:46 -06:00
|
|
|
#ADD_EXECUTABLE(dfitemdesignator itemdesignator.cpp)
|
|
|
|
#TARGET_LINK_LIBRARIES(dfitemdesignator dfhack)
|
2010-01-18 09:44:24 -07:00
|
|
|
|
2010-03-26 05:20:30 -06:00
|
|
|
# a magma creation tool
|
|
|
|
# Author: Aleric
|
2010-04-06 05:05:54 -06:00
|
|
|
ADD_EXECUTABLE(dfmagma_create magma_create.cpp)
|
|
|
|
TARGET_LINK_LIBRARIES(dfmagma_create dfhack)
|
2010-02-18 18:13:53 -07:00
|
|
|
|
2009-10-29 18:56:40 -06:00
|
|
|
IF(UNIX)
|
2009-11-05 18:04:17 -07:00
|
|
|
install(TARGETS
|
2010-04-02 19:52:46 -06:00
|
|
|
#dfbauxite
|
|
|
|
#dfcleanmap
|
|
|
|
#dfdigger
|
2009-11-14 21:25:00 -07:00
|
|
|
dfincremental
|
2010-04-02 19:52:46 -06:00
|
|
|
#dfitemdesignator
|
|
|
|
#dfmagma_create
|
2010-03-26 05:20:30 -06:00
|
|
|
dfprospector
|
|
|
|
dfreveal
|
2009-11-05 18:04:17 -07:00
|
|
|
RUNTIME DESTINATION bin
|
|
|
|
)
|
2009-10-29 18:56:40 -06:00
|
|
|
ENDIF(UNIX)
|