Configure Windows Installer script with CMake

Version code no longer needs to be updated in the wxs script; it will be
handled by CMake.
This commit is contained in:
Epicalert 2021-07-20 23:42:51 +08:00
parent 00052c08f8
commit bebac12174
No known key found for this signature in database
GPG key ID: CAA46F858D0979BD
3 changed files with 6 additions and 4 deletions

1
.gitignore vendored
View file

@ -35,3 +35,4 @@ fc2d
build/
src/config.hpp
packaging/facecam2d.wxs

View file

@ -39,6 +39,7 @@ include_directories( ${GLUT_INCLUDE_DIR} )
include_directories( ${LIBZIP_INCLUDE_DIR} )
include_directories( ${PROJECT_SOURCE_DIR}/src )
configure_file( ${PROJECT_SOURCE_DIR}/src/config.hpp.in ${PROJECT_SOURCE_DIR}/src/config.hpp @ONLY )
configure_file( ${PROJECT_SOURCE_DIR}/packaging/facecam2d.wxs.in ${PROJECT_SOURCE_DIR}/packaging/facecam2d.wxs @ONLY )
file(
COPY
${PROJECT_SOURCE_DIR}/cvdata

View file

@ -1,11 +1,11 @@
<?xml version='1.0' encoding='utf-8'?>
<Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'>
<Product Name='Facecam2D 0.2.1' Manufacturer='Epicalert'
<Product Name='@PROJECT_NAME@' Manufacturer='Epicalert'
Id='A427AE0E-7C4D-4468-B0EB-8B22371521F7'
UpgradeCode='79747C48-F311-47D9-8D53-9DE577C49EDB'
Language='1033' Codepage='1252' Version='0.2.1'>
<Package Id='*' Keywords='Installer' Description='Facecam2D Installer'
Comments='Facecam2D is licensed under the GNU GPLv3.'
Language='1033' Codepage='1252' Version='@PROJECT_VERSION@'>
<Package Id='*' Keywords='Installer' Description='@PROJECT_NAME@ Installer'
Comments='@PROJECT_NAME@ is licensed under the GNU GPLv3.'
Manufacturer='Epicalert'
InstallerVersion='100' Languages='1033' Compressed='yes'
SummaryCodepage='1252'/>