Make CMake configure WiX

This commit is contained in:
Andrew Nelless 2017-02-07 16:52:31 +00:00
parent 9fbec1184e
commit 15885086fa
2 changed files with 6 additions and 3 deletions

View File

@ -359,4 +359,7 @@ if (CONF_DOXYGEN)
endif()
configure_file (src/setup/win32/Include.wxi.in
"${CMAKE_BINARY_DIR}/setup/Include.wxi" NEWLINE_STYLE WIN32)
option(SYNERGY_BUILD_LEGACY_SERVICE "Build the legacy service (synergyd)" ON)

View File

@ -4,9 +4,9 @@
<?define Version="1.9.0" ?> <!-- TODO: Configure this externally //-->
<?define QtVersion="5.8" ?> <!-- TODO: Configure this externally //-->
<?define Author="Symless Ltd" ?>
<?define BinPath="${CMAKE_RUNTIME_OUTPUT_DIRECTORY}\$(var.Configuration)" ?>
<?define ResPath="${CMAKE_CURRENT_SOURCE_DIR}\res" ?>
<?define ExtPath="${CMAKE_CURRENT_SOURCE_DIR}\ext" ?>
<?define BinPath="${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/$(var.Configuration)" ?>
<?define ResPath="${CMAKE_CURRENT_SOURCE_DIR}/res" ?>
<?define ExtPath="${CMAKE_CURRENT_SOURCE_DIR}/ext" ?>
<?if $(var.Platform) = "x64" ?>
<?define ProgramFilesFolder="ProgramFiles64Folder" ?>
<?define PlatformSimpleName="64-bit" ?>