Skip to content

Commit

Permalink
preparing build with the portable option
Browse files Browse the repository at this point in the history
  • Loading branch information
aliakseis committed Nov 10, 2018
1 parent 37c3684 commit 7df6792
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ set(CMAKE_MODULE_PATH
"${CMAKE_CURRENT_SOURCE_DIR}/cmake"
)

project(${PROJECT_NAME} VERSION 0.1.0.1)
project(${PROJECT_NAME} VERSION 0.1.0.2)
message("Building ${PROJECT_NAME} version ${PROJECT_VERSION}")

###################################################
Expand Down
8 changes: 6 additions & 2 deletions setup.iss
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,17 @@ SolidCompression=yes
Name: "english"; MessagesFile: "compiler:Default.isl"

[Tasks]
Name: "portable"; Description: "Set up portable mode"; Flags: unchecked
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked

[Files]
Source: "C:\solutions\LIII\build\bin\LIII.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\solutions\LIII\build\bin\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "build\bin\LIII.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "build\bin\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
; NOTE: Don't use "Flags: ignoreversion" on any shared system files

[Dirs]
Name: "{app}\portable"; Tasks: portable

[Icons]
Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon
Expand Down

0 comments on commit 7df6792

Please sign in to comment.