mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-07-06 08:21:35 +00:00
Add BUILD_OPENMW switch, build will be broken in next commit
This commit is contained in:
parent
5a3d796578
commit
1124343e0d
1 changed files with 7 additions and 2 deletions
|
@ -63,6 +63,7 @@ set(CUSTOM_OGRE_PLUGIN_DIR "" CACHE PATH "Specify a custom directory for Ogre pl
|
||||||
option(OPENMW_UNITY_BUILD "Use fewer compilation units to speed up compile time" FALSE)
|
option(OPENMW_UNITY_BUILD "Use fewer compilation units to speed up compile time" FALSE)
|
||||||
|
|
||||||
# Apps and tools
|
# Apps and tools
|
||||||
|
option(BUILD_OPENMW "build OpenMW" ON)
|
||||||
option(BUILD_BSATOOL "build BSA extractor" ON)
|
option(BUILD_BSATOOL "build BSA extractor" ON)
|
||||||
option(BUILD_ESMTOOL "build ESM inspector" ON)
|
option(BUILD_ESMTOOL "build ESM inspector" ON)
|
||||||
option(BUILD_LAUNCHER "build Launcher" ON)
|
option(BUILD_LAUNCHER "build Launcher" ON)
|
||||||
|
@ -417,7 +418,9 @@ IF(NOT WIN32 AND NOT APPLE)
|
||||||
SET(SYSCONFDIR "${GLOBAL_CONFIG_PATH}/openmw" CACHE PATH "Set config dir")
|
SET(SYSCONFDIR "${GLOBAL_CONFIG_PATH}/openmw" CACHE PATH "Set config dir")
|
||||||
|
|
||||||
# Install binaries
|
# Install binaries
|
||||||
|
IF(BUILD_OPENMW)
|
||||||
INSTALL(PROGRAMS "${OpenMW_BINARY_DIR}/openmw" DESTINATION "${BINDIR}" )
|
INSTALL(PROGRAMS "${OpenMW_BINARY_DIR}/openmw" DESTINATION "${BINDIR}" )
|
||||||
|
ENDIF(BUILD_OPENMW)
|
||||||
IF(BUILD_LAUNCHER)
|
IF(BUILD_LAUNCHER)
|
||||||
INSTALL(PROGRAMS "${OpenMW_BINARY_DIR}/openmw-launcher" DESTINATION "${BINDIR}" )
|
INSTALL(PROGRAMS "${OpenMW_BINARY_DIR}/openmw-launcher" DESTINATION "${BINDIR}" )
|
||||||
ENDIF(BUILD_LAUNCHER)
|
ENDIF(BUILD_LAUNCHER)
|
||||||
|
@ -586,7 +589,9 @@ if (BUILD_NIFTEST)
|
||||||
endif(BUILD_NIFTEST)
|
endif(BUILD_NIFTEST)
|
||||||
|
|
||||||
# Apps and tools
|
# Apps and tools
|
||||||
|
if (BUILD_OPENMW)
|
||||||
add_subdirectory( apps/openmw )
|
add_subdirectory( apps/openmw )
|
||||||
|
endif()
|
||||||
|
|
||||||
if (BUILD_BSATOOL)
|
if (BUILD_BSATOOL)
|
||||||
add_subdirectory( apps/bsatool )
|
add_subdirectory( apps/bsatool )
|
||||||
|
|
Loading…
Reference in a new issue