95 lines
2.8 KiB
CMake
95 lines
2.8 KiB
CMake
INCLUDE(Plugins.cmake)
|
|
|
|
# Dfusion plugin
|
|
IF(UNIX)
|
|
OPTION(BUILD_DFUSION "Build DFusion." OFF)
|
|
ELSE()
|
|
OPTION(BUILD_DFUSION "Build DFusion." ON)
|
|
ENDIF()
|
|
if(BUILD_DFUSION)
|
|
add_subdirectory (Dfusion)
|
|
endif()
|
|
|
|
OPTION(BUILD_QTPLUG "Build the experimental Qt plugin." OFF)
|
|
if(BUILD_QTPLUG)
|
|
add_subdirectory (qtplug)
|
|
endif()
|
|
|
|
OPTION(BUILD_STONESENSE "Build stonesense (needs a checkout first)." OFF)
|
|
if(BUILD_STONESENSE)
|
|
add_subdirectory (stonesense)
|
|
endif()
|
|
|
|
OPTION(BUILD_DEV_PLUGINS "Build developer plugins." OFF)
|
|
if(BUILD_DEV_PLUGINS)
|
|
add_subdirectory (devel)
|
|
endif()
|
|
|
|
OPTION(BUILD_SERVER "Build server." OFF)
|
|
if(BUILD_SERVER)
|
|
add_subdirectory (server)
|
|
endif()
|
|
|
|
OPTION(BUILD_DF2MC "Build DF2MC (needs a checkout first)." OFF)
|
|
if(BUILD_DF2MC)
|
|
add_subdirectory (df2mc)
|
|
endif()
|
|
|
|
OPTION(BUILD_MAPEXPORT "Build map exporter." ON)
|
|
if (BUILD_MAPEXPORT)
|
|
add_subdirectory (mapexport)
|
|
endif()
|
|
|
|
OPTION(BUILD_DWARFEXPORT "Build dwarf exporter." ON)
|
|
if (BUILD_DWARFEXPORT)
|
|
add_subdirectory (dwarfexport)
|
|
endif()
|
|
|
|
OPTION(BUILD_SUPPORTED "Build the supported plugins (reveal, probe, etc.)." ON)
|
|
if (BUILD_SUPPORTED)
|
|
DFHACK_PLUGIN(reveal reveal.cpp)
|
|
DFHACK_PLUGIN(probe probe.cpp)
|
|
DFHACK_PLUGIN(drybuckets drybuckets.cpp)
|
|
DFHACK_PLUGIN(getplants getplants.cpp)
|
|
DFHACK_PLUGIN(plants plants.cpp)
|
|
DFHACK_PLUGIN(fastdwarf fastdwarf.cpp)
|
|
DFHACK_PLUGIN(prospector prospector.cpp)
|
|
DFHACK_PLUGIN(cleaners cleaners.cpp)
|
|
DFHACK_PLUGIN(weather weather.cpp)
|
|
DFHACK_PLUGIN(vdig vdig.cpp)
|
|
DFHACK_PLUGIN(colonies colonies.cpp)
|
|
DFHACK_PLUGIN(mode mode.cpp)
|
|
DFHACK_PLUGIN(liquids liquids.cpp)
|
|
DFHACK_PLUGIN(tiletypes tiletypes.cpp)
|
|
DFHACK_PLUGIN(tubefill tubefill.cpp)
|
|
DFHACK_PLUGIN(autodump autodump.cpp)
|
|
DFHACK_PLUGIN(cleanowned cleanowned.cpp)
|
|
DFHACK_PLUGIN(deramp deramp.cpp)
|
|
DFHACK_PLUGIN(flows flows.cpp)
|
|
DFHACK_PLUGIN(filltraffic filltraffic.cpp)
|
|
DFHACK_PLUGIN(seedwatch seedwatch.cpp)
|
|
DFHACK_PLUGIN(initflags initflags.cpp)
|
|
DFHACK_PLUGIN(stockpiles stockpiles.cpp)
|
|
DFHACK_PLUGIN(rename rename.cpp)
|
|
DFHACK_PLUGIN(jobutils jobutils.cpp)
|
|
DFHACK_PLUGIN(workflow workflow.cpp)
|
|
DFHACK_PLUGIN(showmood showmood.cpp)
|
|
DFHACK_PLUGIN(fixveins fixveins.cpp)
|
|
DFHACK_PLUGIN(fixpositions fixpositions.cpp)
|
|
DFHACK_PLUGIN(follow follow.cpp)
|
|
DFHACK_PLUGIN(changevein changevein.cpp)
|
|
DFHACK_PLUGIN(advtools advtools.cpp)
|
|
DFHACK_PLUGIN(tweak tweak.cpp)
|
|
DFHACK_PLUGIN(feature feature.cpp)
|
|
DFHACK_PLUGIN(lair lair.cpp)
|
|
# not yet. busy with other crud again...
|
|
#DFHACK_PLUGIN(versionosd versionosd.cpp)
|
|
endif()
|
|
|
|
|
|
# this is the skeleton plugin. If you want to make your own, make a copy and then change it
|
|
OPTION(BUILD_SKELETON "Build the skeleton plugin." OFF)
|
|
if(BUILD_SKELETON)
|
|
add_subdirectory(skeleton)
|
|
endif()
|