You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SET(DFHACK_INSTALL "portable"CACHESTRING"Choose the install type: 'portable' for a portable zip or tar.gz package, 'linux' for packaging and system installs on linux, 'none' for no install target (default).")
35
+
SET( MEMXML_DATA_PATH . CACHEPATH"Path to a valid Memory.xml file. This is baked into the library, so when you package DFHack for linux, set it to the right path.")
36
+
37
+
IF(${DFHACK_INSTALL}STREQUAL"portable")
38
+
# the dfhack libraries will be installed here:
39
+
SET(DFHACK_LIBRARY_DESTINATION .)
40
+
# the dfhack tools will be installed here:
41
+
SET(DFHACK_BINARY_DESTINATION .)
42
+
# Memory.xml goes here:
43
+
SET(DFHACK_DATA_DESTINATION .)
44
+
# Includes go here:
45
+
SET(DFHACK_INCLUDES_DESTINATION dev/include)
46
+
# the Windows .lib files go here:
47
+
IF(WIN32)
48
+
SET(DFHACK_DEVLIB_DESTINATION dev)
49
+
SET(CMAKE_INSTALL_SYSTEM_RUNTIME_DESTINATION .)
50
+
ENDIF()
51
+
ENDIF()
52
+
53
+
IF(${DFHACK_INSTALL}STREQUAL"linux")
54
+
# the dfhack libraries will be installed here:
55
+
SET(DFHACK_LIBRARY_DESTINATION lib)
56
+
# the dfhack tools will be installed here:
57
+
SET(DFHACK_BINARY_DESTINATION bin)
58
+
# Memory.xml goes here:
59
+
SET(DFHACK_DATA_DESTINATION share/dfhack)
60
+
# Includes go here:
61
+
SET(DFHACK_INCLUDES_DESTINATION include)
62
+
ENDIF()
63
+
64
+
## some options for the user/developer to play with
65
+
OPTION(BUILD_DFHACK_SUPPORTED "Build the supported tools."ON)
66
+
OPTION(BUILD_DFHACK_C_BINDINGS "Build the C portion of the library"ON)
30
67
OPTION(BUILD_DFHACK_DOXYGEN "Create doxygen documentation for developers"ON)
31
68
OPTION(BUILD_DFHACK_EXAMPLES "Build example tools"OFF)
32
69
OPTION(BUILD_DFHACK_PLAYGROUND "Build tools from the playground folder"OFF)
33
-
OPTION(BUILD_DFHACK_C_BINDINGS "Build the C portion of the library"ON)
34
-
OPTION(BUILD_DFHACK_SUPPORTED "Build the supported toold."ON)
0 commit comments