Commit 579282a0 authored by Jan Möbius's avatar Jan Möbius

Added license branding

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@10652 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 7186614c
TODO OpenFlipper License File
...@@ -92,6 +92,12 @@ if (WIN32) ...@@ -92,6 +92,12 @@ if (WIN32)
set ( WINDOWS_INSTALLER_IMAGE_ICON "${CMAKE_SOURCE_DIR}/branding/win/installer.bmp" CACHE FILEPATH "Path to the Installer Image Icon ( This has to be a bmp )" ) set ( WINDOWS_INSTALLER_IMAGE_ICON "${CMAKE_SOURCE_DIR}/branding/win/installer.bmp" CACHE FILEPATH "Path to the Installer Image Icon ( This has to be a bmp )" )
ENDIF(NOT WINDOWS_INSTALLER_IMAGE_ICON ) ENDIF(NOT WINDOWS_INSTALLER_IMAGE_ICON )
IF ( NOT WINDOWS_LICENSE_FILE )
# option to set the used License file for OpenFlipper
set ( WINDOWS_LICENSE_FILE "${CMAKE_SOURCE_DIR}\\branding\\win\\License.txt" CACHE FILEPATH "Path to the License file for installer" )
ENDIF(NOT WINDOWS_LICENSE_FILE )
else() else()
IF ( NOT WINDOWS_INSTALLER_ICON ) IF ( NOT WINDOWS_INSTALLER_ICON )
...@@ -104,6 +110,12 @@ if (WIN32) ...@@ -104,6 +110,12 @@ if (WIN32)
set ( WINDOWS_INSTALLER_IMAGE_ICON "${CMAKE_SOURCE_DIR}/OpenFlipper/installer/win/installer.bmp" CACHE FILEPATH "Path to the Installer Image Icon ( This has to be a bmp )" ) set ( WINDOWS_INSTALLER_IMAGE_ICON "${CMAKE_SOURCE_DIR}/OpenFlipper/installer/win/installer.bmp" CACHE FILEPATH "Path to the Installer Image Icon ( This has to be a bmp )" )
ENDIF(NOT WINDOWS_INSTALLER_IMAGE_ICON ) ENDIF(NOT WINDOWS_INSTALLER_IMAGE_ICON )
IF ( NOT WINDOWS_LICENSE_FILE )
# option to set the used License file for OpenFlipper
set ( WINDOWS_LICENSE_FILE "${CMAKE_SOURCE_DIR}\\OpenFlipper\\License.txt" CACHE FILEPATH "Path to the License file for installer" )
ENDIF(NOT WINDOWS_LICENSE_FILE )
endif() endif()
string(REGEX REPLACE "/" "\\\\\\\\" CLEAN_WINDOWS_INSTALLER_IMAGE_ICON "${WINDOWS_INSTALLER_IMAGE_ICON}" ) string(REGEX REPLACE "/" "\\\\\\\\" CLEAN_WINDOWS_INSTALLER_IMAGE_ICON "${WINDOWS_INSTALLER_IMAGE_ICON}" )
...@@ -164,6 +176,11 @@ elseif (APPLE) ...@@ -164,6 +176,11 @@ elseif (APPLE)
set ( APPLE_INSTALLER_IMAGE_ICON "${CMAKE_SOURCE_DIR}/branding/mac/installer.bmp" CACHE FILEPATH "Path to the Installer Image Icon ( This has to be a bmp )" ) set ( APPLE_INSTALLER_IMAGE_ICON "${CMAKE_SOURCE_DIR}/branding/mac/installer.bmp" CACHE FILEPATH "Path to the Installer Image Icon ( This has to be a bmp )" )
ENDIF(NOT APPLE_INSTALLER_IMAGE_ICON ) ENDIF(NOT APPLE_INSTALLER_IMAGE_ICON )
IF ( NOT APPLE_LICENSE_FILE )
# option to set the used License file for OpenFlipper
set ( APPLE_LICENSE_FILE "${CMAKE_SOURCE_DIR}\\branding\\mac\\License.txt" CACHE FILEPATH "Path to the License file for installer" )
ENDIF(NOT APPLE_LICENSE_FILE )
else() else()
IF ( NOT APPLE_INSTALLER_ICON ) IF ( NOT APPLE_INSTALLER_ICON )
...@@ -176,6 +193,11 @@ elseif (APPLE) ...@@ -176,6 +193,11 @@ elseif (APPLE)
set ( APPLE_INSTALLER_IMAGE_ICON "${CMAKE_SOURCE_DIR}/OpenFlipper/installer/mac/installer.bmp" CACHE FILEPATH "Path to the Installer Image Icon ( This has to be a bmp )" ) set ( APPLE_INSTALLER_IMAGE_ICON "${CMAKE_SOURCE_DIR}/OpenFlipper/installer/mac/installer.bmp" CACHE FILEPATH "Path to the Installer Image Icon ( This has to be a bmp )" )
ENDIF(NOT APPLE_INSTALLER_IMAGE_ICON ) ENDIF(NOT APPLE_INSTALLER_IMAGE_ICON )
IF ( NOT APPLE_LICENSE_FILE )
# option to set the used License file for OpenFlipper
set ( APPLE_LICENSE_FILE "${CMAKE_SOURCE_DIR}\\OpenFlipper\\License.txt" CACHE FILEPATH "Path to the License file for installer" )
ENDIF(NOT APPLE_LICENSE_FILE )
endif() endif()
set (CPACK_NSIS_MUI_ICON ${APPLE_INSTALLER_ICON} ) set (CPACK_NSIS_MUI_ICON ${APPLE_INSTALLER_ICON} )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment