Skip to content
Snippets Groups Projects
Commit d0080e36 authored by Lars Bilke's avatar Lars Bilke
Browse files

Small NSIS installer fixes.

parent c8505bb7
No related branches found
No related tags found
No related merge requests found
...@@ -155,7 +155,7 @@ cpack_add_component(ogs_gui ...@@ -155,7 +155,7 @@ cpack_add_component(ogs_gui
DESCRIPTION "The graphical user interface for OpenGeoSys." DESCRIPTION "The graphical user interface for OpenGeoSys."
GROUP Applications GROUP Applications
) )
set(CPACK_PACKAGE_EXECUTABLES ${CPACK_PACKAGE_EXECUTABLES} "DataExplorer" "OGS Data Explorer") set(CPACK_PACKAGE_EXECUTABLES ${CPACK_PACKAGE_EXECUTABLES} "DataExplorer" "OGS Data Explorer" PARENT_SCOPE)
set(CPACK_NSIS_MENU_LINKS ${CPACK_NSIS_MENU_LINKS} "bin/DataExplorer.exe" "Data Explorer" PARENT_SCOPE) set(CPACK_NSIS_MENU_LINKS ${CPACK_NSIS_MENU_LINKS} "bin/DataExplorer.exe" "Data Explorer" PARENT_SCOPE)
IF(APPLE) IF(APPLE)
RETURN() RETURN()
......
...@@ -96,6 +96,6 @@ SET_PROPERTY(TARGET OGSFileConverter PROPERTY FOLDER "Utilities") ...@@ -96,6 +96,6 @@ SET_PROPERTY(TARGET OGSFileConverter PROPERTY FOLDER "Utilities")
### Installation ### ### Installation ###
#################### ####################
IF(OGS_PACKAGING) INSTALL (TARGETS OGSFileConverter RUNTIME DESTINATION bin COMPONENT ogs_cli)
INSTALL (TARGETS OGSFileConverter RUNTIME DESTINATION bin COMPONENT ogs) set(CPACK_PACKAGE_EXECUTABLES ${CPACK_PACKAGE_EXECUTABLES} "OGSFileConverter" "File Converter")
ENDIF() set(CPACK_NSIS_MENU_LINKS ${CPACK_NSIS_MENU_LINKS} "bin/OGSFileConverter.exe" "File Converter" PARENT_SCOPE)
...@@ -18,9 +18,6 @@ INCLUDE(GetGitRevisionDescription) ...@@ -18,9 +18,6 @@ INCLUDE(GetGitRevisionDescription)
GET_GIT_HEAD_REVISION(GIT_REFSPEC GIT_SHA1) GET_GIT_HEAD_REVISION(GIT_REFSPEC GIT_SHA1)
STRING(SUBSTRING ${GIT_SHA1} 0 8 GIT_SHA1_SHORT) STRING(SUBSTRING ${GIT_SHA1} 0 8 GIT_SHA1_SHORT)
# Suppress warning on setting policies
CMAKE_POLICY(SET CMP0011 OLD)
# Get the hostname # Get the hostname
SITE_NAME(HOSTNAME) SITE_NAME(HOSTNAME)
......
...@@ -7,13 +7,13 @@ SET(CMAKE_OSX_ARCHITECTURES "x86_64") ...@@ -7,13 +7,13 @@ SET(CMAKE_OSX_ARCHITECTURES "x86_64")
# Set compiler helper variables # Set compiler helper variables
IF ("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang") IF (${CMAKE_CXX_COMPILER_ID} MATCHES "Clang")
SET(COMPILER_IS_CLANG TRUE) SET(COMPILER_IS_CLANG TRUE)
ELSEIF ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU") ELSEIF (${CMAKE_CXX_COMPILER_ID} STREQUAL "GNU")
SET(COMPILER_IS_GCC TRUE) SET(COMPILER_IS_GCC TRUE)
ELSEIF ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Intel") ELSEIF (${CMAKE_CXX_COMPILER_ID} STREQUAL "Intel")
SET(COMPILER_IS_INTEL TRUE) SET(COMPILER_IS_INTEL TRUE)
ELSEIF ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC") ELSEIF (${CMAKE_CXX_COMPILER_ID} STREQUAL "MSVC")
SET(COMPILER_IS_MSVC TRUE) SET(COMPILER_IS_MSVC TRUE)
ENDIF () # CMAKE_CXX_COMPILER_ID ENDIF () # CMAKE_CXX_COMPILER_ID
......
...@@ -13,6 +13,9 @@ SET(CPACK_NSIS_HELP_LINK "http://docs.opengeosys.org/assets/files/Documentation/ ...@@ -13,6 +13,9 @@ SET(CPACK_NSIS_HELP_LINK "http://docs.opengeosys.org/assets/files/Documentation/
SET(CPACK_NSIS_MENU_LINKS SET(CPACK_NSIS_MENU_LINKS
"bin" "Executables folder" "bin" "Executables folder"
"http://www.opengeosys.org" "Website" "http://www.opengeosys.org" "Website"
"https://github.com/ufz/ogs" "Source code on GitHub" "https://github.com/ufz/ogs" "Source code on GitFHub"
"docs" "Documentation folder" PARENT_SCOPE
) )
IF(OGS_DOWNLOAD_ADDITIONAL_CONTENT)
SET(CPACK_NSIS_MENU_LINKS ${CPACK_NSIS_MENU_LINKS} "docs" "Documentation folder" PARENT_SCOPE)
ENDIF()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment