2011-03-20 10:17:33 -06:00
|
|
|
if(NOT DEFINED DFHACK_CONSISTENCY)
|
|
|
|
MESSAGE(FATAL_ERROR "Please build the whole thing, not parts. You can turn parts on/off using options.")
|
|
|
|
ENDIF()
|
2010-02-15 23:21:38 -07:00
|
|
|
|
|
|
|
# this is required to ensure we use the right configuration for the system.
|
|
|
|
IF(UNIX)
|
2011-03-20 10:17:33 -06:00
|
|
|
add_definitions(-DLINUX_BUILD)
|
2010-02-15 23:21:38 -07:00
|
|
|
ENDIF(UNIX)
|
|
|
|
|
2010-04-02 19:52:46 -06:00
|
|
|
# buildingsdump - dump buildings and their raw data filtered by type
|
2011-03-16 00:35:08 -06:00
|
|
|
DFHACK_TOOL(dfbuildingsdump buildingsdump.cpp)
|
2010-04-02 19:52:46 -06:00
|
|
|
|
2011-04-02 16:15:47 -06:00
|
|
|
# constructiondump - dump engravings!
|
|
|
|
DFHACK_TOOL(dfengravingdump engravingdump.cpp)
|
|
|
|
|
2010-04-09 16:24:41 -06:00
|
|
|
# constructiondump - dump constructions!
|
2011-03-16 00:35:08 -06:00
|
|
|
DFHACK_TOOL(dfconstructiondump construction_dump.cpp)
|
2010-04-09 16:24:41 -06:00
|
|
|
|
2010-02-15 23:21:38 -07:00
|
|
|
# creaturedump - basic creature dump - a test of the creature related exports
|
2011-03-16 00:35:08 -06:00
|
|
|
DFHACK_TOOL(dfcreaturedump creaturedump.cpp)
|
2010-02-15 23:21:38 -07:00
|
|
|
|
|
|
|
# materialtest - just list the first material of each type
|
2011-03-16 00:35:08 -06:00
|
|
|
DFHACK_TOOL(dfmaterialtest materialtest.cpp)
|
2010-02-15 23:21:38 -07:00
|
|
|
|
|
|
|
# itemdump - dump the item under the cursor
|
2011-03-16 00:35:08 -06:00
|
|
|
DFHACK_TOOL(dfitemdump dfitemdump.cpp)
|
2010-02-15 23:21:38 -07:00
|
|
|
|
2010-02-17 16:33:08 -07:00
|
|
|
# hotkeynotedump - dumps the hotkeys and notes for the loaded map
|
|
|
|
# Author: belal
|
2011-03-16 00:35:08 -06:00
|
|
|
DFHACK_TOOL(dfhotkeynotedump hotkeynotedump.cpp)
|
2010-02-17 16:33:08 -07:00
|
|
|
|
2010-02-22 19:25:57 -07:00
|
|
|
# settlementdump - dumps the settlements on the loaded map
|
|
|
|
# Author: belal
|
2011-03-16 00:35:08 -06:00
|
|
|
# DFHACK_TOOL(dfsettlementdump settlementdump.cpp)
|
2010-02-22 19:25:57 -07:00
|
|
|
|
2010-04-07 08:45:38 -06:00
|
|
|
# treedump - dump them trees!
|
2011-03-16 00:35:08 -06:00
|
|
|
DFHACK_TOOL(dftreedump treedump.cpp)
|
2010-04-07 08:45:38 -06:00
|
|
|
|
2010-04-07 14:28:05 -06:00
|
|
|
# spatterdump - dump spatter 'veins'
|
2011-03-16 00:35:08 -06:00
|
|
|
DFHACK_TOOL(dfspatterdump spatterdump.cpp)
|
2010-04-07 14:28:05 -06:00
|
|
|
|
2010-05-27 21:18:32 -06:00
|
|
|
# processenum - demonstrates the use of ProcessEnumerator
|
2011-03-16 00:35:08 -06:00
|
|
|
DFHACK_TOOL(dfprocessenum processenum.cpp)
|