Make dwarf export optional. Update structures.

develop
Petr Mrázek 2012-02-05 20:16:00 +01:00
parent 7d8a176e59
commit 2b22b0b336
2 changed files with 5 additions and 3 deletions

@ -1 +1 @@
Subproject commit 03b768f1158e675f2a4937ce857f2cd5acb58103 Subproject commit 3366573d365cbce65326da6154c776381b2ffa05

@ -40,6 +40,10 @@ if (BUILD_MAPEXPORT)
add_subdirectory (mapexport) add_subdirectory (mapexport)
endif() endif()
OPTION(BUILD_DWARFEXPORT "Build dwarf exporter." ON)
if (BUILD_DWARFEXPORT)
add_subdirectory (export)
endif()
DFHACK_PLUGIN(reveal reveal.cpp) DFHACK_PLUGIN(reveal reveal.cpp)
DFHACK_PLUGIN(probe probe.cpp) DFHACK_PLUGIN(probe probe.cpp)
@ -74,8 +78,6 @@ DFHACK_PLUGIN(fixveins fixveins.cpp)
DFHACK_PLUGIN(fixpositions fixpositions.cpp) DFHACK_PLUGIN(fixpositions fixpositions.cpp)
#DFHACK_PLUGIN(versionosd versionosd.cpp) #DFHACK_PLUGIN(versionosd versionosd.cpp)
add_subdirectory(export)
# this is the skeleton plugin. If you want to make your own, make a copy and then change it # 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) OPTION(BUILD_SKELETON "Build the skeleton plugin." OFF)
if(BUILD_SKELETON) if(BUILD_SKELETON)