1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2025-09-19 17:59:19 +03:00

Merge Windows manifest files into a single one

This commit is contained in:
Davide Beatrici
2021-03-27 00:33:20 +01:00
parent 3761876254
commit 4db6247b80
15 changed files with 78 additions and 179 deletions

View File

@ -20,13 +20,13 @@ if(WIN32)
set(COMPONENT_FILE_NAME "${COMPONENT_FILE_NAME}.exe")
configure_file("${TOP_DIRECTORY}/src/BuildFiles/VerScript/ver.rc" "${CMAKE_CURRENT_BINARY_DIR}/ver.rc")
target_sources(vpntest PRIVATE "vpntest.rc" "${CMAKE_CURRENT_BINARY_DIR}/ver.rc")
if(${COMPILER_ARCHITECTURE} STREQUAL "x64")
target_sources(vpntest PRIVATE "${TOP_DIRECTORY}/src/BuildFiles/Manifests/x64_user.manifest")
else()
target_sources(vpntest PRIVATE "${TOP_DIRECTORY}/src/BuildFiles/Manifests/x86_user.manifest")
endif()
target_sources(vpntest PRIVATE
"vpntest.rc"
"ver.rc"
"${TOP_DIRECTORY}/src/BuildFiles/Manifests/common.manifest"
)
endif()
target_link_libraries(vpntest cedar mayaqua)