Skip to content
Snippets Groups Projects
Commit 608c332d authored by Langella Olivier's avatar Langella Olivier
Browse files

iss file prepared with cmake

parent e5c1a971
No related branches found
No related tags found
No related merge requests found
......@@ -41,11 +41,11 @@ ENDIF( CMAKE_BUILD_TYPE MATCHES "RelWithDebInfo" )
#set(CMAKE_CXX_STANDARD 14)
if (CMAKE_VERSION VERSION_LESS "3.1")
if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
set (CMAKE_CXX_FLAGS "-std=gnu++11 ${CMAKE_CXX_FLAGS}")
set (CMAKE_CXX_FLAGS "-std=gnu++11 ${CMAKE_CXX_FLAGS}")
endif ()
else ()
else ()
set (CMAKE_CXX_STANDARD 14)
endif ()
endif ()
#depending on libpappsomspp version :
SET(LIBPAPPSOMSPP_VERSION "0.3.3-3")
......@@ -202,6 +202,8 @@ SET(UPDATE_OPTIONS "")
#ENDIF(BUILD_TESTING)
configure_file (${CMAKE_SOURCE_DIR}/templates/share/applications/xtpcpp.desktop.cmake ${CMAKE_BINARY_DIR}/templates/share/applications/xtpcpp.desktop)
configure_file (${CMAKE_SOURCE_DIR}/win64/xtpcpp-mingw64-win7+.iss.cmake ${CMAKE_SOURCE_DIR}/win64/xtpcpp-mingw64-win7+.iss)
INSTALL(FILES ${CMAKE_BINARY_DIR}/templates/share/applications/xtpcpp.desktop DESTINATION share/applications)
INSTALL(PROGRAMS ${CMAKE_BINARY_DIR}/src/xtpcpp DESTINATION bin)
......
[Setup]
AppName=X!TandemPipeline
; Set version number below
#define public version "4.2.1"
AppVersion={#version}
#define public arch "mingw64"
#define public platform "win7+"
#define sourceDir "C:\msys64\home\polipo\devel\xtandempipeline"
; Set version number below
AppVerName=X!TandemPipeline version {#version}
DefaultDirName={pf}\xtandempipeline
DefaultGroupName=xtandempipeline
OutputDir="C:\msys64\home\polipo\devel\xtandempipeline\win64"
; Set version number below
OutputBaseFilename=xtpcpp-{#arch}-{#platform}-v{#version}-setup
; Set version number below
OutputManifestFile=xtpcpp-{#arch}-{#platform}-v{#version}-setup-manifest.txt
ArchitecturesAllowed=x64
ArchitecturesInstallIn64BitMode=x64
LicenseFile="{#sourceDir}\COPYING"
AppCopyright="Copyright (C) 2016- Olivier Langella"
AllowNoIcons=yes
AlwaysShowComponentsList=yes
AllowRootDirectory=no
AllowCancelDuringInstall=yes
AppComments="X!TandemPipeline, by Olivier Langella"
AppContact="Olivier Langella, research engineer at CNRS, France"
CloseApplications=yes
CreateUninstallRegKey=yes
DirExistsWarning=yes
WindowResizable=yes
; WizardImageFile="{#sourceDir}\images\splashscreen-innosetup.bmp"
WizardImageStretch=yes
[Dirs]
Name: "{app}"
[Files]
Source: "C:\xtpcpp-libdeps\*"; DestDir: {app}; Flags: ignoreversion recursesubdirs;
[Setup]
AppName=X!TandemPipeline
; Set version number below
#define public version "${XTPCPP_VERSION}"
AppVersion={#version}
#define public arch "mingw64"
#define public platform "win7+"
#define sourceDir "C:\msys64\home\polipo\devel\xtandempipeline"
#define cmake_build_dir "C:\msys64\home\polipo\devel\xtandempipeline\build"
; Set version number below
AppVerName=X!TandemPipeline version {#version}
DefaultDirName={pf}\xtandempipeline
DefaultGroupName=xtandempipeline
OutputDir="C:\msys64\home\polipo\devel\xtandempipeline\win64"
; Set version number below
OutputBaseFilename=xtpcpp-{#arch}-{#platform}-v{#version}-setup
; Set version number below
OutputManifestFile=xtpcpp-{#arch}-{#platform}-v{#version}-setup-manifest.txt
ArchitecturesAllowed=x64
ArchitecturesInstallIn64BitMode=x64
LicenseFile="{#sourceDir}\COPYING"
AppCopyright="Copyright (C) 2016- Olivier Langella"
AllowNoIcons=yes
AlwaysShowComponentsList=yes
AllowRootDirectory=no
AllowCancelDuringInstall=yes
AppComments="X!TandemPipeline, by Olivier Langella"
AppContact="Olivier Langella, research engineer at CNRS, France"
CloseApplications=yes
CreateUninstallRegKey=yes
DirExistsWarning=yes
WindowResizable=yes
; WizardImageFile="{#sourceDir}\images\splashscreen-innosetup.bmp"
WizardImageStretch=yes
[Dirs]
Name: "{app}"
[Files]
Source: "C:\xtpcpp-libdeps\*"; DestDir: {app}; Flags: ignoreversion recursesubdirs;
Source: "{#sourceDir}\README"; DestDir: {app}; Flags: isreadme; Components: xtpcppComp
Source: "{#sourceDir}\COPYING"; DestDir: {app}; Flags: isreadme; Components: xtpcppComp
Source: "{#sourceDir}\win64\xtpcpp.exe"; DestDir: {app}; Components: xtpcppComp
[Icons]
Name: "{group}\xtpcpp"; Filename: "{app}\xtpcpp.exe"; WorkingDir: "{app}"
Name: "{group}\Uninstall xtpcpp"; Filename: "{uninstallexe}"
[Types]
Name: "xtpcppType"; Description: "Full installation"
[Components]
Name: "xtpcppComp"; Description: "X!TandemPipeline files"; Types: xtpcppType
[Run]
Filename: "{app}\README"; Description: "View the README file"; Flags: postinstall shellexec skipifsilent
Filename: "{app}\xtpcpp.exe"; Description: "Launch X!TandemPipeline"; Flags: postinstall nowait unchecked
Source: "{#sourceDir}\COPYING"; DestDir: {app}; Flags: isreadme; Components: xtpcppComp
Source: "{#cmake_build_dir}\build\src\xtpcpp.exe"; DestDir: {app}; Components: xtpcppComp
[Icons]
Name: "{group}\xtpcpp"; Filename: "{app}\xtpcpp.exe"; WorkingDir: "{app}"
Name: "{group}\Uninstall xtpcpp"; Filename: "{uninstallexe}"
[Types]
Name: "xtpcppType"; Description: "Full installation"
[Components]
Name: "xtpcppComp"; Description: "X!TandemPipeline files"; Types: xtpcppType
[Run]
Filename: "{app}\README"; Description: "View the README file"; Flags: postinstall shellexec skipifsilent
Filename: "{app}\xtpcpp.exe"; Description: "Launch X!TandemPipeline"; Flags: postinstall nowait unchecked
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