|
|
|
@ -408,7 +408,7 @@ IF(NOT WIN32 AND NOT APPLE)
|
|
|
|
|
# Install binaries
|
|
|
|
|
INSTALL(PROGRAMS "${OpenMW_BINARY_DIR}/openmw" DESTINATION "${BINDIR}" )
|
|
|
|
|
IF(BUILD_LAUNCHER)
|
|
|
|
|
INSTALL(PROGRAMS "${OpenMW_BINARY_DIR}/omwlauncher" DESTINATION "${BINDIR}" )
|
|
|
|
|
INSTALL(PROGRAMS "${OpenMW_BINARY_DIR}/openmw-launcher" DESTINATION "${BINDIR}" )
|
|
|
|
|
ENDIF(BUILD_LAUNCHER)
|
|
|
|
|
IF(BUILD_BSATOOL)
|
|
|
|
|
INSTALL(PROGRAMS "${OpenMW_BINARY_DIR}/bsatool" DESTINATION "${BINDIR}" )
|
|
|
|
@ -417,7 +417,7 @@ IF(NOT WIN32 AND NOT APPLE)
|
|
|
|
|
INSTALL(PROGRAMS "${OpenMW_BINARY_DIR}/esmtool" DESTINATION "${BINDIR}" )
|
|
|
|
|
ENDIF(BUILD_ESMTOOL)
|
|
|
|
|
IF(BUILD_MWINIIMPORTER)
|
|
|
|
|
INSTALL(PROGRAMS "${OpenMW_BINARY_DIR}/mwiniimport" DESTINATION "${BINDIR}" )
|
|
|
|
|
INSTALL(PROGRAMS "${OpenMW_BINARY_DIR}/openmw-iniimporter" DESTINATION "${BINDIR}" )
|
|
|
|
|
ENDIF(BUILD_MWINIIMPORTER)
|
|
|
|
|
IF(BUILD_ESSIMPORTER)
|
|
|
|
|
INSTALL(PROGRAMS "${OpenMW_BINARY_DIR}/openmw-essimporter" DESTINATION "${BINDIR}" )
|
|
|
|
@ -476,10 +476,10 @@ if(WIN32)
|
|
|
|
|
DESTINATION ".")
|
|
|
|
|
|
|
|
|
|
IF(BUILD_LAUNCHER)
|
|
|
|
|
INSTALL(PROGRAMS "${OpenMW_BINARY_DIR}/Release/omwlauncher.exe" DESTINATION ".")
|
|
|
|
|
INSTALL(PROGRAMS "${OpenMW_BINARY_DIR}/Release/openmw-launcher.exe" DESTINATION ".")
|
|
|
|
|
ENDIF(BUILD_LAUNCHER)
|
|
|
|
|
IF(BUILD_MWINIIMPORTER)
|
|
|
|
|
INSTALL(PROGRAMS "${OpenMW_BINARY_DIR}/Release/mwiniimport.exe" DESTINATION ".")
|
|
|
|
|
INSTALL(PROGRAMS "${OpenMW_BINARY_DIR}/Release/openmw-iniimporter.exe" DESTINATION ".")
|
|
|
|
|
ENDIF(BUILD_MWINIIMPORTER)
|
|
|
|
|
IF(BUILD_ESSIMPORTER)
|
|
|
|
|
INSTALL(PROGRAMS "${OpenMW_BINARY_DIR}/Release/openmw-essimporter.exe" DESTINATION ".")
|
|
|
|
@ -506,7 +506,7 @@ if(WIN32)
|
|
|
|
|
SET(CPACK_PACKAGE_VERSION_PATCH ${OPENMW_VERSION_RELEASE})
|
|
|
|
|
SET(CPACK_PACKAGE_EXECUTABLES "openmw;OpenMW")
|
|
|
|
|
IF(BUILD_LAUNCHER)
|
|
|
|
|
SET(CPACK_PACKAGE_EXECUTABLES "${CPACK_PACKAGE_EXECUTABLES};omwlauncher;OpenMW Launcher")
|
|
|
|
|
SET(CPACK_PACKAGE_EXECUTABLES "${CPACK_PACKAGE_EXECUTABLES};openmw-launcher;OpenMW Launcher")
|
|
|
|
|
ENDIF(BUILD_LAUNCHER)
|
|
|
|
|
IF(BUILD_OPENCS)
|
|
|
|
|
SET(CPACK_PACKAGE_EXECUTABLES "${CPACK_PACKAGE_EXECUTABLES};opencs;OpenMW Construction Set")
|
|
|
|
@ -525,7 +525,7 @@ if(WIN32)
|
|
|
|
|
SET(CPACK_NSIS_DISPLAY_NAME "OpenMW ${OPENMW_VERSION}")
|
|
|
|
|
SET(CPACK_NSIS_HELP_LINK "http:\\\\\\\\www.openmw.org")
|
|
|
|
|
SET(CPACK_NSIS_URL_INFO_ABOUT "http:\\\\\\\\www.openmw.org")
|
|
|
|
|
SET(CPACK_NSIS_INSTALLED_ICON_NAME "omwlauncher.exe")
|
|
|
|
|
SET(CPACK_NSIS_INSTALLED_ICON_NAME "openmw-launcher.exe")
|
|
|
|
|
SET(CPACK_NSIS_MUI_ICON "${OpenMW_SOURCE_DIR}/files/windows/openmw.ico")
|
|
|
|
|
SET(CPACK_NSIS_MUI_UNIICON "${OpenMW_SOURCE_DIR}/files/windows/openmw.ico")
|
|
|
|
|
SET(CPACK_PACKAGE_ICON "${OpenMW_SOURCE_DIR}\\\\files\\\\openmw.bmp")
|
|
|
|
@ -699,7 +699,7 @@ if (WIN32)
|
|
|
|
|
set_target_properties(oics PROPERTIES COMPILE_FLAGS "${OICS_WARNINGS} ${MT_BUILD}")
|
|
|
|
|
set_target_properties(components PROPERTIES COMPILE_FLAGS "${WARNINGS} ${MT_BUILD}")
|
|
|
|
|
if (BUILD_LAUNCHER)
|
|
|
|
|
set_target_properties(omwlauncher PROPERTIES COMPILE_FLAGS "${WARNINGS} ${MT_BUILD}")
|
|
|
|
|
set_target_properties(openmw-launcher PROPERTIES COMPILE_FLAGS "${WARNINGS} ${MT_BUILD}")
|
|
|
|
|
endif (BUILD_LAUNCHER)
|
|
|
|
|
set_target_properties(openmw PROPERTIES COMPILE_FLAGS "${WARNINGS} ${MT_BUILD}")
|
|
|
|
|
if (BUILD_BSATOOL)
|
|
|
|
@ -717,7 +717,7 @@ if (WIN32)
|
|
|
|
|
set_target_properties(opencs PROPERTIES COMPILE_FLAGS ${OPENCS_WARNINGS})
|
|
|
|
|
endif (BUILD_OPENCS)
|
|
|
|
|
if (BUILD_MWINIIMPORTER)
|
|
|
|
|
set_target_properties(mwiniimport PROPERTIES COMPILE_FLAGS "${WARNINGS} ${MT_BUILD}")
|
|
|
|
|
set_target_properties(openmw-iniimporter PROPERTIES COMPILE_FLAGS "${WARNINGS} ${MT_BUILD}")
|
|
|
|
|
endif (BUILD_MWINIIMPORTER)
|
|
|
|
|
endif(MSVC)
|
|
|
|
|
|
|
|
|
|