|
|
@ -13,16 +13,16 @@ endif()
|
|
|
|
|
|
|
|
|
|
|
|
OPTION(BUILD_ISOWORLD "Build isoworld (needs a checkout first)." OFF)
|
|
|
|
OPTION(BUILD_ISOWORLD "Build isoworld (needs a checkout first)." OFF)
|
|
|
|
if(BUILD_ISOWORLD)
|
|
|
|
if(BUILD_ISOWORLD)
|
|
|
|
add_subdirectory (isoworld)
|
|
|
|
add_subdirectory (isoworld)
|
|
|
|
IF(UNIX)
|
|
|
|
IF(UNIX)
|
|
|
|
if (APPLE)
|
|
|
|
if (APPLE)
|
|
|
|
#TODO: add an OSX runner script
|
|
|
|
#TODO: add an OSX runner script
|
|
|
|
else()
|
|
|
|
else()
|
|
|
|
# On linux, copy our version of the df launch script which sets LD_PRELOAD
|
|
|
|
# On linux, copy our version of the df launch script which sets LD_PRELOAD
|
|
|
|
install(PROGRAMS ${dfhack_SOURCE_DIR}/package/linux/runisoworld
|
|
|
|
install(PROGRAMS ${dfhack_SOURCE_DIR}/package/linux/runisoworld
|
|
|
|
DESTINATION .)
|
|
|
|
DESTINATION .)
|
|
|
|
endif()
|
|
|
|
endif()
|
|
|
|
ENDIF()
|
|
|
|
ENDIF()
|
|
|
|
endif()
|
|
|
|
endif()
|
|
|
|
|
|
|
|
|
|
|
|
OPTION(BUILD_DEV_PLUGINS "Build developer plugins." OFF)
|
|
|
|
OPTION(BUILD_DEV_PLUGINS "Build developer plugins." OFF)
|
|
|
@ -38,12 +38,12 @@ endif()
|
|
|
|
|
|
|
|
|
|
|
|
OPTION(BUILD_MAPEXPORT "Build map exporter." ON)
|
|
|
|
OPTION(BUILD_MAPEXPORT "Build map exporter." ON)
|
|
|
|
if (BUILD_MAPEXPORT)
|
|
|
|
if (BUILD_MAPEXPORT)
|
|
|
|
add_subdirectory (mapexport)
|
|
|
|
# add_subdirectory (mapexport)
|
|
|
|
endif()
|
|
|
|
endif()
|
|
|
|
|
|
|
|
|
|
|
|
OPTION(BUILD_DWARFEXPORT "Build dwarf exporter." ON)
|
|
|
|
OPTION(BUILD_DWARFEXPORT "Build dwarf exporter." ON)
|
|
|
|
if (BUILD_DWARFEXPORT)
|
|
|
|
if (BUILD_DWARFEXPORT)
|
|
|
|
add_subdirectory (dwarfexport)
|
|
|
|
# add_subdirectory (dwarfexport)
|
|
|
|
endif()
|
|
|
|
endif()
|
|
|
|
|
|
|
|
|
|
|
|
OPTION(BUILD_RUBY "Build ruby binding." ON)
|
|
|
|
OPTION(BUILD_RUBY "Build ruby binding." ON)
|
|
|
@ -84,7 +84,7 @@ OPTION(BUILD_SUPPORTED "Build the supported plugins (reveal, probe, etc.)." ON)
|
|
|
|
if (BUILD_SUPPORTED)
|
|
|
|
if (BUILD_SUPPORTED)
|
|
|
|
DFHACK_PLUGIN(3dveins 3dveins.cpp)
|
|
|
|
DFHACK_PLUGIN(3dveins 3dveins.cpp)
|
|
|
|
DFHACK_PLUGIN(add-spatter add-spatter.cpp)
|
|
|
|
DFHACK_PLUGIN(add-spatter add-spatter.cpp)
|
|
|
|
DFHACK_PLUGIN(advtools advtools.cpp)
|
|
|
|
# DFHACK_PLUGIN(advtools advtools.cpp)
|
|
|
|
DFHACK_PLUGIN(autodump autodump.cpp)
|
|
|
|
DFHACK_PLUGIN(autodump autodump.cpp)
|
|
|
|
DFHACK_PLUGIN(autolabor autolabor.cpp)
|
|
|
|
DFHACK_PLUGIN(autolabor autolabor.cpp)
|
|
|
|
DFHACK_PLUGIN(automaterial automaterial.cpp)
|
|
|
|
DFHACK_PLUGIN(automaterial automaterial.cpp)
|
|
|
@ -104,23 +104,23 @@ if (BUILD_SUPPORTED)
|
|
|
|
DFHACK_PLUGIN(createitem createitem.cpp)
|
|
|
|
DFHACK_PLUGIN(createitem createitem.cpp)
|
|
|
|
DFHACK_PLUGIN(cursecheck cursecheck.cpp)
|
|
|
|
DFHACK_PLUGIN(cursecheck cursecheck.cpp)
|
|
|
|
DFHACK_PLUGIN(deramp deramp.cpp)
|
|
|
|
DFHACK_PLUGIN(deramp deramp.cpp)
|
|
|
|
DFHACK_PLUGIN(dig dig.cpp)
|
|
|
|
# DFHACK_PLUGIN(dig dig.cpp)
|
|
|
|
DFHACK_PLUGIN(digFlood digFlood.cpp)
|
|
|
|
DFHACK_PLUGIN(digFlood digFlood.cpp)
|
|
|
|
add_subdirectory(diggingInvaders)
|
|
|
|
# add_subdirectory(diggingInvaders)
|
|
|
|
DFHACK_PLUGIN(drybuckets drybuckets.cpp)
|
|
|
|
DFHACK_PLUGIN(drybuckets drybuckets.cpp)
|
|
|
|
DFHACK_PLUGIN(dwarfmonitor dwarfmonitor.cpp)
|
|
|
|
# DFHACK_PLUGIN(dwarfmonitor dwarfmonitor.cpp)
|
|
|
|
DFHACK_PLUGIN(embark-tools embark-tools.cpp)
|
|
|
|
DFHACK_PLUGIN(embark-tools embark-tools.cpp)
|
|
|
|
DFHACK_PLUGIN(eventful eventful.cpp LINK_LIBRARIES lua)
|
|
|
|
DFHACK_PLUGIN(eventful eventful.cpp LINK_LIBRARIES lua)
|
|
|
|
DFHACK_PLUGIN(fastdwarf fastdwarf.cpp)
|
|
|
|
DFHACK_PLUGIN(fastdwarf fastdwarf.cpp)
|
|
|
|
DFHACK_PLUGIN(feature feature.cpp)
|
|
|
|
DFHACK_PLUGIN(feature feature.cpp)
|
|
|
|
DFHACK_PLUGIN(filltraffic filltraffic.cpp)
|
|
|
|
DFHACK_PLUGIN(filltraffic filltraffic.cpp)
|
|
|
|
DFHACK_PLUGIN(fix-armory fix-armory.cpp)
|
|
|
|
# DFHACK_PLUGIN(fix-armory fix-armory.cpp)
|
|
|
|
DFHACK_PLUGIN(fixpositions fixpositions.cpp)
|
|
|
|
DFHACK_PLUGIN(fixpositions fixpositions.cpp)
|
|
|
|
DFHACK_PLUGIN(fixveins fixveins.cpp)
|
|
|
|
DFHACK_PLUGIN(fixveins fixveins.cpp)
|
|
|
|
DFHACK_PLUGIN(flows flows.cpp)
|
|
|
|
DFHACK_PLUGIN(flows flows.cpp)
|
|
|
|
DFHACK_PLUGIN(follow follow.cpp)
|
|
|
|
DFHACK_PLUGIN(follow follow.cpp)
|
|
|
|
DFHACK_PLUGIN(forceequip forceequip.cpp)
|
|
|
|
DFHACK_PLUGIN(forceequip forceequip.cpp)
|
|
|
|
DFHACK_PLUGIN(getplants getplants.cpp)
|
|
|
|
# DFHACK_PLUGIN(getplants getplants.cpp)
|
|
|
|
DFHACK_PLUGIN(infiniteSky infiniteSky.cpp)
|
|
|
|
DFHACK_PLUGIN(infiniteSky infiniteSky.cpp)
|
|
|
|
DFHACK_PLUGIN(initflags initflags.cpp)
|
|
|
|
DFHACK_PLUGIN(initflags initflags.cpp)
|
|
|
|
DFHACK_PLUGIN(isoworldremote isoworldremote.cpp PROTOBUFS isoworldremote)
|
|
|
|
DFHACK_PLUGIN(isoworldremote isoworldremote.cpp PROTOBUFS isoworldremote)
|
|
|
@ -132,20 +132,20 @@ if (BUILD_SUPPORTED)
|
|
|
|
DFHACK_PLUGIN(misery misery.cpp)
|
|
|
|
DFHACK_PLUGIN(misery misery.cpp)
|
|
|
|
DFHACK_PLUGIN(mousequery mousequery.cpp)
|
|
|
|
DFHACK_PLUGIN(mousequery mousequery.cpp)
|
|
|
|
DFHACK_PLUGIN(petcapRemover petcapRemover.cpp)
|
|
|
|
DFHACK_PLUGIN(petcapRemover petcapRemover.cpp)
|
|
|
|
DFHACK_PLUGIN(plants plants.cpp)
|
|
|
|
# DFHACK_PLUGIN(plants plants.cpp)
|
|
|
|
DFHACK_PLUGIN(probe probe.cpp)
|
|
|
|
DFHACK_PLUGIN(probe probe.cpp)
|
|
|
|
DFHACK_PLUGIN(prospector prospector.cpp)
|
|
|
|
# DFHACK_PLUGIN(prospector prospector.cpp)
|
|
|
|
DFHACK_PLUGIN(power-meter power-meter.cpp LINK_LIBRARIES lua)
|
|
|
|
DFHACK_PLUGIN(power-meter power-meter.cpp LINK_LIBRARIES lua)
|
|
|
|
DFHACK_PLUGIN(regrass regrass.cpp)
|
|
|
|
DFHACK_PLUGIN(regrass regrass.cpp)
|
|
|
|
DFHACK_PLUGIN(remotefortressreader remotefortressreader.cpp PROTOBUFS RemoteFortressReader)
|
|
|
|
DFHACK_PLUGIN(remotefortressreader remotefortressreader.cpp PROTOBUFS RemoteFortressReader)
|
|
|
|
DFHACK_PLUGIN(rename rename.cpp LINK_LIBRARIES lua PROTOBUFS rename)
|
|
|
|
DFHACK_PLUGIN(rename rename.cpp LINK_LIBRARIES lua PROTOBUFS rename)
|
|
|
|
add_subdirectory(rendermax)
|
|
|
|
# add_subdirectory(rendermax)
|
|
|
|
DFHACK_PLUGIN(resume resume.cpp)
|
|
|
|
DFHACK_PLUGIN(resume resume.cpp)
|
|
|
|
DFHACK_PLUGIN(reveal reveal.cpp)
|
|
|
|
DFHACK_PLUGIN(reveal reveal.cpp)
|
|
|
|
DFHACK_PLUGIN(search search.cpp)
|
|
|
|
DFHACK_PLUGIN(search search.cpp)
|
|
|
|
DFHACK_PLUGIN(seedwatch seedwatch.cpp)
|
|
|
|
DFHACK_PLUGIN(seedwatch seedwatch.cpp)
|
|
|
|
DFHACK_PLUGIN(showmood showmood.cpp)
|
|
|
|
DFHACK_PLUGIN(showmood showmood.cpp)
|
|
|
|
DFHACK_PLUGIN(siege-engine siege-engine.cpp LINK_LIBRARIES lua)
|
|
|
|
# DFHACK_PLUGIN(siege-engine siege-engine.cpp LINK_LIBRARIES lua)
|
|
|
|
DFHACK_PLUGIN(sort sort.cpp LINK_LIBRARIES lua)
|
|
|
|
DFHACK_PLUGIN(sort sort.cpp LINK_LIBRARIES lua)
|
|
|
|
DFHACK_PLUGIN(steam-engine steam-engine.cpp)
|
|
|
|
DFHACK_PLUGIN(steam-engine steam-engine.cpp)
|
|
|
|
DFHACK_PLUGIN(stockflow stockflow.cpp LINK_LIBRARIES lua)
|
|
|
|
DFHACK_PLUGIN(stockflow stockflow.cpp LINK_LIBRARIES lua)
|
|
|
@ -153,7 +153,7 @@ if (BUILD_SUPPORTED)
|
|
|
|
DFHACK_PLUGIN(stocks stocks.cpp)
|
|
|
|
DFHACK_PLUGIN(stocks stocks.cpp)
|
|
|
|
DFHACK_PLUGIN(strangemood strangemood.cpp)
|
|
|
|
DFHACK_PLUGIN(strangemood strangemood.cpp)
|
|
|
|
DFHACK_PLUGIN(tiletypes tiletypes.cpp Brushes.h)
|
|
|
|
DFHACK_PLUGIN(tiletypes tiletypes.cpp Brushes.h)
|
|
|
|
DFHACK_PLUGIN(treefarm treefarm.cpp)
|
|
|
|
# DFHACK_PLUGIN(treefarm treefarm.cpp)
|
|
|
|
DFHACK_PLUGIN(tubefill tubefill.cpp)
|
|
|
|
DFHACK_PLUGIN(tubefill tubefill.cpp)
|
|
|
|
DFHACK_PLUGIN(tweak tweak.cpp)
|
|
|
|
DFHACK_PLUGIN(tweak tweak.cpp)
|
|
|
|
DFHACK_PLUGIN(weather weather.cpp)
|
|
|
|
DFHACK_PLUGIN(weather weather.cpp)
|
|
|
|