Set version automatically in InnoSetup script
This commit is contained in:
parent
a9e32691ac
commit
72ae779a1d
2 changed files with 9 additions and 7 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
#define MyAppName "sfizz-lv2"
|
#define MyAppName "sfizz-lv2"
|
||||||
#define MyAppVersion "0.3.0"
|
#define MyAppVersion "@PROJECT_VERSION@"
|
||||||
#define MyAppPublisher "sfizz Team"
|
#define MyAppPublisher "sfizz Team"
|
||||||
#define MyAppURL "https://sfztools.github.io/sfizz/"
|
#define MyAppURL "https://sfztools.github.io/sfizz/"
|
||||||
|
|
||||||
|
|
@ -31,7 +31,7 @@ SolidCompression=yes
|
||||||
DefaultDirName={commoncf}\LV2
|
DefaultDirName={commoncf}\LV2
|
||||||
DefaultGroupName={#MyAppPublisher}
|
DefaultGroupName={#MyAppPublisher}
|
||||||
DisableDirPage=yes
|
DisableDirPage=yes
|
||||||
LicenseFile=CMakeBuild\sfizz.lv2\LICENSE.md
|
LicenseFile="sfizz.lv2\LICENSE.md"
|
||||||
OutputBaseFileName={#MyAppName}-{#MyAppVersion}-{#Arch}-msvc-setup
|
OutputBaseFileName={#MyAppName}-{#MyAppVersion}-{#Arch}-msvc-setup
|
||||||
OutputDir=CMakeBuild
|
OutputDir=CMakeBuild
|
||||||
UninstallFilesDir={commonpf}\{#MyAppName}
|
UninstallFilesDir={commonpf}\{#MyAppName}
|
||||||
|
|
@ -42,11 +42,11 @@ WizardSmallImageFile="C:\Program Files (x86)\Inno Setup 6\WizModernSmallImage-IS
|
||||||
Name: "english"; MessagesFile: "compiler:Default.isl"
|
Name: "english"; MessagesFile: "compiler:Default.isl"
|
||||||
|
|
||||||
[Files]
|
[Files]
|
||||||
Source: "CMakeBuild\sfizz.lv2\sfizz.dll"; DestDir: {commoncf}\LV2\sfizz.lv2; Flags: ignoreversion
|
Source: "sfizz.lv2\sfizz.dll"; DestDir: {commoncf}\LV2\sfizz.lv2; Flags: ignoreversion
|
||||||
Source: "CMakeBuild\sfizz.lv2\manifest.ttl"; DestDir: {commoncf}\LV2\sfizz.lv2
|
Source: "sfizz.lv2\manifest.ttl"; DestDir: {commoncf}\LV2\sfizz.lv2
|
||||||
Source: "CMakeBuild\sfizz.lv2\sfizz.ttl"; DestDir: {commoncf}\LV2\sfizz.lv2
|
Source: "sfizz.lv2\sfizz.ttl"; DestDir: {commoncf}\LV2\sfizz.lv2
|
||||||
Source: "CMakeBuild\sfizz.lv2\lgpl-3.0.txt"; DestDir: {commonpf}\{#MyAppName}
|
Source: "sfizz.lv2\lgpl-3.0.txt"; DestDir: {commonpf}\{#MyAppName}
|
||||||
Source: "CMakeBuild\sfizz.lv2\LICENSE.md"; DestDir: {commonpf}\{#MyAppName}
|
Source: "sfizz.lv2\LICENSE.md"; DestDir: {commonpf}\{#MyAppName}
|
||||||
;Source: "setup\vc_redist.x64.exe"; DestDir: {tmp}; Flags: deleteafterinstall
|
;Source: "setup\vc_redist.x64.exe"; DestDir: {tmp}; Flags: deleteafterinstall
|
||||||
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
|
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
|
||||||
|
|
||||||
|
|
@ -39,6 +39,8 @@ if (NOT MSVC)
|
||||||
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||||
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||||
PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
|
PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
|
||||||
|
else()
|
||||||
|
configure_file (${PROJECT_SOURCE_DIR}/scripts/innosetup.iss.in ${CMAKE_CURRENT_BINARY_DIR}/../innosetup.iss @ONLY)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
add_library (sfizz::parser ALIAS sfizz_parser)
|
add_library (sfizz::parser ALIAS sfizz_parser)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue