|
|
@ -69,7 +69,7 @@ option(BUILD_OPENMW_MP "build OpenMW-MP" 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)
|
|
|
|
option(BUILD_NETLAUNCHER "build tes3mp Launcher" ON)
|
|
|
|
option(BUILD_BROWSER "build tes3mp Server Browser" ON)
|
|
|
|
option(BUILD_MWINIIMPORTER "build MWiniImporter" ON)
|
|
|
|
option(BUILD_MWINIIMPORTER "build MWiniImporter" ON)
|
|
|
|
option(BUILD_ESSIMPORTER "build ESS (Morrowind save game) importer" ON)
|
|
|
|
option(BUILD_ESSIMPORTER "build ESS (Morrowind save game) importer" ON)
|
|
|
|
option(BUILD_OPENCS "build OpenMW Construction Set" ON)
|
|
|
|
option(BUILD_OPENCS "build OpenMW Construction Set" ON)
|
|
|
@ -129,7 +129,7 @@ endif()
|
|
|
|
find_package(RakNet REQUIRED)
|
|
|
|
find_package(RakNet REQUIRED)
|
|
|
|
include_directories(${RakNet_INCLUDES})
|
|
|
|
include_directories(${RakNet_INCLUDES})
|
|
|
|
|
|
|
|
|
|
|
|
if (NOT BUILD_LAUNCHER AND NOT BUILD_NETLAUNCHER AND NOT BUILD_OPENCS AND NOT BUILD_WIZARD)
|
|
|
|
if (NOT BUILD_LAUNCHER AND NOT BUILD_BROWSER AND NOT BUILD_OPENCS AND NOT BUILD_WIZARD)
|
|
|
|
set(USE_QT FALSE)
|
|
|
|
set(USE_QT FALSE)
|
|
|
|
else()
|
|
|
|
else()
|
|
|
|
set(USE_QT TRUE)
|
|
|
|
set(USE_QT TRUE)
|
|
|
@ -394,9 +394,9 @@ IF(NOT WIN32 AND NOT APPLE)
|
|
|
|
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)
|
|
|
|
IF(BUILD_NETLAUNCHER)
|
|
|
|
IF(BUILD_BROWSER)
|
|
|
|
INSTALL(PROGRAMS "${OpenMW_BINARY_DIR}/openmw-netlauncher" DESTINATION "${BINDIR}" )
|
|
|
|
INSTALL(PROGRAMS "${OpenMW_BINARY_DIR}/openmw-browser" DESTINATION "${BINDIR}" )
|
|
|
|
ENDIF(BUILD_NETLAUNCHER)
|
|
|
|
ENDIF(BUILD_BROWSER)
|
|
|
|
IF(BUILD_BSATOOL)
|
|
|
|
IF(BUILD_BSATOOL)
|
|
|
|
INSTALL(PROGRAMS "${OpenMW_BINARY_DIR}/bsatool" DESTINATION "${BINDIR}" )
|
|
|
|
INSTALL(PROGRAMS "${OpenMW_BINARY_DIR}/bsatool" DESTINATION "${BINDIR}" )
|
|
|
|
ENDIF(BUILD_BSATOOL)
|
|
|
|
ENDIF(BUILD_BSATOOL)
|
|
|
@ -497,9 +497,9 @@ if(WIN32)
|
|
|
|
IF(BUILD_LAUNCHER)
|
|
|
|
IF(BUILD_LAUNCHER)
|
|
|
|
SET(CPACK_PACKAGE_EXECUTABLES "${CPACK_PACKAGE_EXECUTABLES};openmw-launcher;OpenMW Launcher")
|
|
|
|
SET(CPACK_PACKAGE_EXECUTABLES "${CPACK_PACKAGE_EXECUTABLES};openmw-launcher;OpenMW Launcher")
|
|
|
|
ENDIF(BUILD_LAUNCHER)
|
|
|
|
ENDIF(BUILD_LAUNCHER)
|
|
|
|
IF(BUILD_NETLAUNCHER)
|
|
|
|
IF(BUILD_BROWSER)
|
|
|
|
SET(CPACK_PACKAGE_EXECUTABLES "${CPACK_PACKAGE_EXECUTABLES};tes3mp-netlauncher;tes3mp Launcher")
|
|
|
|
SET(CPACK_PACKAGE_EXECUTABLES "${CPACK_PACKAGE_EXECUTABLES};tes3mp-browser;tes3mp Launcher")
|
|
|
|
ENDIF(BUILD_NETLAUNCHER)
|
|
|
|
ENDIF(BUILD_BROWSER)
|
|
|
|
IF(BUILD_OPENCS)
|
|
|
|
IF(BUILD_OPENCS)
|
|
|
|
SET(CPACK_PACKAGE_EXECUTABLES "${CPACK_PACKAGE_EXECUTABLES};openmw-cs;OpenMW Construction Set")
|
|
|
|
SET(CPACK_PACKAGE_EXECUTABLES "${CPACK_PACKAGE_EXECUTABLES};openmw-cs;OpenMW Construction Set")
|
|
|
|
ENDIF(BUILD_OPENCS)
|
|
|
|
ENDIF(BUILD_OPENCS)
|
|
|
@ -586,8 +586,8 @@ if (BUILD_LAUNCHER)
|
|
|
|
add_subdirectory( apps/launcher )
|
|
|
|
add_subdirectory( apps/launcher )
|
|
|
|
endif()
|
|
|
|
endif()
|
|
|
|
|
|
|
|
|
|
|
|
if (BUILD_NETLAUNCHER)
|
|
|
|
if (BUILD_BROWSER)
|
|
|
|
add_subdirectory( apps/netlauncher )
|
|
|
|
add_subdirectory( apps/browser )
|
|
|
|
endif()
|
|
|
|
endif()
|
|
|
|
|
|
|
|
|
|
|
|
if (BUILD_MWINIIMPORTER)
|
|
|
|
if (BUILD_MWINIIMPORTER)
|
|
|
@ -723,8 +723,8 @@ if (WIN32)
|
|
|
|
set_target_properties(openmw-launcher PROPERTIES COMPILE_FLAGS "${WARNINGS} ${MT_BUILD}")
|
|
|
|
set_target_properties(openmw-launcher PROPERTIES COMPILE_FLAGS "${WARNINGS} ${MT_BUILD}")
|
|
|
|
endif()
|
|
|
|
endif()
|
|
|
|
|
|
|
|
|
|
|
|
if (BUILD_NETLAUNCHER)
|
|
|
|
if (BUILD_BROWSER)
|
|
|
|
set_target_properties(tes3mp-netlauncher PROPERTIES COMPILE_FLAGS "${WARNINGS} ${MT_BUILD}")
|
|
|
|
set_target_properties(tes3mp-browser PROPERTIES COMPILE_FLAGS "${WARNINGS} ${MT_BUILD}")
|
|
|
|
endif()
|
|
|
|
endif()
|
|
|
|
|
|
|
|
|
|
|
|
if (BUILD_MWINIIMPORTER)
|
|
|
|
if (BUILD_MWINIIMPORTER)
|
|
|
|