2011-09-01 17:25:01 -06:00
|
|
|
INCLUDE(Plugins.cmake)
|
2011-07-25 03:09:29 -06:00
|
|
|
|
2011-08-08 13:17:11 -06:00
|
|
|
# Dfusion plugin
|
2011-08-14 00:42:21 -06:00
|
|
|
IF(UNIX)
|
|
|
|
OPTION(BUILD_DFUSION "Build DFusion." OFF)
|
|
|
|
ELSE()
|
|
|
|
OPTION(BUILD_DFUSION "Build DFusion." ON)
|
|
|
|
ENDIF()
|
2011-08-08 13:17:11 -06:00
|
|
|
if(BUILD_DFUSION)
|
2011-07-25 03:09:29 -06:00
|
|
|
add_subdirectory (Dfusion)
|
2011-07-30 14:08:24 -06:00
|
|
|
endif()
|
2011-07-16 10:10:08 -06:00
|
|
|
|
|
|
|
OPTION(BUILD_QTPLUG "Build the experimental Qt plugin." OFF)
|
|
|
|
if(BUILD_QTPLUG)
|
2011-07-16 07:34:29 -06:00
|
|
|
add_subdirectory (qtplug)
|
2011-07-16 10:10:08 -06:00
|
|
|
endif()
|
2011-06-19 20:29:38 -06:00
|
|
|
|
2011-07-21 03:29:26 -06:00
|
|
|
OPTION(BUILD_STONESENSE "Build stonesense (needs a checkout first)." OFF)
|
|
|
|
if(BUILD_STONESENSE)
|
|
|
|
add_subdirectory (stonesense)
|
|
|
|
endif()
|
|
|
|
|
2011-08-07 16:55:17 -06:00
|
|
|
OPTION(BUILD_DEV_PLUGINS "Build developer plugins." OFF)
|
|
|
|
if(BUILD_DEV_PLUGINS)
|
|
|
|
add_subdirectory (devel)
|
2011-07-14 00:52:06 -06:00
|
|
|
endif()
|
2011-07-16 10:10:08 -06:00
|
|
|
|
2011-11-25 14:14:36 -07:00
|
|
|
OPTION(BUILD_SERVER "Build server." OFF)
|
|
|
|
if(BUILD_SERVER)
|
|
|
|
add_subdirectory (server)
|
|
|
|
endif()
|
|
|
|
|
2011-12-24 03:51:58 -07:00
|
|
|
OPTION(BUILD_DF2MC "Build DF2MC (needs a checkout first)." OFF)
|
2011-11-04 19:22:15 -06:00
|
|
|
if(BUILD_DF2MC)
|
|
|
|
add_subdirectory (df2mc)
|
|
|
|
endif()
|
|
|
|
|
2012-01-19 23:15:51 -07:00
|
|
|
OPTION(BUILD_MAPEXPORT "Build map exporter." ON)
|
|
|
|
if (BUILD_MAPEXPORT)
|
|
|
|
add_subdirectory (mapexport)
|
|
|
|
endif()
|
|
|
|
|
2011-07-21 03:29:26 -06:00
|
|
|
|
2011-07-16 10:10:08 -06:00
|
|
|
DFHACK_PLUGIN(reveal reveal.cpp)
|
2011-07-25 02:14:58 -06:00
|
|
|
DFHACK_PLUGIN(probe probe.cpp)
|
2011-10-29 19:50:29 -06:00
|
|
|
DFHACK_PLUGIN(drybuckets drybuckets.cpp)
|
2011-10-06 19:53:58 -06:00
|
|
|
DFHACK_PLUGIN(getplants getplants.cpp)
|
2011-08-01 18:21:25 -06:00
|
|
|
DFHACK_PLUGIN(plants plants.cpp)
|
2011-10-06 19:53:58 -06:00
|
|
|
DFHACK_PLUGIN(fastdwarf fastdwarf.cpp)
|
2011-07-16 10:10:08 -06:00
|
|
|
DFHACK_PLUGIN(prospector prospector.cpp)
|
2011-10-27 20:40:00 -06:00
|
|
|
DFHACK_PLUGIN(cleaners cleaners.cpp)
|
2011-07-16 10:10:08 -06:00
|
|
|
DFHACK_PLUGIN(weather weather.cpp)
|
|
|
|
DFHACK_PLUGIN(vdig vdig.cpp)
|
|
|
|
DFHACK_PLUGIN(colonies colonies.cpp)
|
2011-07-25 02:14:58 -06:00
|
|
|
DFHACK_PLUGIN(mode mode.cpp)
|
2011-07-27 18:35:45 -06:00
|
|
|
DFHACK_PLUGIN(liquids liquids.cpp)
|
2011-08-10 20:39:12 -06:00
|
|
|
DFHACK_PLUGIN(tiletypes tiletypes.cpp)
|
2011-08-02 08:25:10 -06:00
|
|
|
DFHACK_PLUGIN(tubefill tubefill.cpp)
|
2011-08-03 20:04:46 -06:00
|
|
|
DFHACK_PLUGIN(autodump autodump.cpp)
|
2011-08-04 16:41:31 -06:00
|
|
|
DFHACK_PLUGIN(cleanowned cleanowned.cpp)
|
|
|
|
DFHACK_PLUGIN(deramp deramp.cpp)
|
2011-08-08 18:07:29 -06:00
|
|
|
DFHACK_PLUGIN(flows flows.cpp)
|
2011-10-13 18:15:19 -06:00
|
|
|
DFHACK_PLUGIN(filltraffic filltraffic.cpp)
|
2011-10-24 09:53:31 -06:00
|
|
|
DFHACK_PLUGIN(seedwatch seedwatch.cpp)
|
2011-12-24 03:51:58 -07:00
|
|
|
DFHACK_PLUGIN(initflags initflags.cpp)
|
|
|
|
DFHACK_PLUGIN(stockpiles stockpiles.cpp)
|
2011-12-29 06:37:07 -07:00
|
|
|
DFHACK_PLUGIN(rename rename.cpp)
|
2012-01-01 12:05:45 -07:00
|
|
|
DFHACK_PLUGIN(fixwagons fixwagons.cpp)
|
2012-01-02 07:46:24 -07:00
|
|
|
DFHACK_PLUGIN(jobutils jobutils.cpp)
|
2012-01-02 19:13:27 -07:00
|
|
|
DFHACK_PLUGIN(regrass regrass.cpp)
|
2012-01-07 10:47:23 -07:00
|
|
|
DFHACK_PLUGIN(workflow workflow.cpp)
|
2012-01-23 15:03:29 -07:00
|
|
|
DFHACK_PLUGIN(showmood showmood.cpp)
|
2012-01-26 09:06:03 -07:00
|
|
|
DFHACK_PLUGIN(fixveins fixveins.cpp)
|
2012-02-04 19:45:45 -07:00
|
|
|
DFHACK_PLUGIN(fixpositions fixpositions.cpp)
|
2011-12-24 03:51:58 -07:00
|
|
|
#DFHACK_PLUGIN(versionosd versionosd.cpp)
|
2011-08-22 07:21:13 -06:00
|
|
|
|
2011-10-06 19:53:58 -06:00
|
|
|
# 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()
|