2018-10-24 20:23:07 +03:00
|
|
|
set(VPNTEST_SOURCES vpntest.c vpntest.h)
|
|
|
|
|
|
|
|
if(WIN32)
|
|
|
|
if(${COMPILER_ARCHITECTURE} STREQUAL "x64")
|
2018-11-19 02:13:59 +03:00
|
|
|
set(VPNTEST_SOURCES ${VPNTEST_SOURCES} ${TOP_DIRECTORY}/src/BuildFiles/Manifests/x64_user.manifest)
|
2018-10-24 20:23:07 +03:00
|
|
|
else()
|
2018-11-19 02:13:59 +03:00
|
|
|
set(VPNTEST_SOURCES ${VPNTEST_SOURCES} ${TOP_DIRECTORY}/src/BuildFiles/Manifests/x86_user.manifest)
|
2018-10-24 20:23:07 +03:00
|
|
|
endif()
|
|
|
|
endif()
|
|
|
|
|
|
|
|
add_executable(vpntest ${VPNTEST_SOURCES})
|
2018-10-08 06:10:54 +03:00
|
|
|
|
|
|
|
set_target_properties(vpntest
|
|
|
|
PROPERTIES
|
2018-10-18 03:02:17 +03:00
|
|
|
ARCHIVE_OUTPUT_DIRECTORY "${BUILD_DIRECTORY}"
|
|
|
|
LIBRARY_OUTPUT_DIRECTORY "${BUILD_DIRECTORY}"
|
|
|
|
RUNTIME_OUTPUT_DIRECTORY "${BUILD_DIRECTORY}"
|
2018-10-08 06:10:54 +03:00
|
|
|
)
|
|
|
|
|
2018-11-18 06:18:42 +03:00
|
|
|
if(WIN32)
|
|
|
|
set_target_properties(vpntest
|
|
|
|
PROPERTIES
|
|
|
|
PDB_OUTPUT_DIRECTORY "${BUILD_DIRECTORY}"
|
|
|
|
)
|
|
|
|
endif()
|
|
|
|
|
2018-10-08 06:10:54 +03:00
|
|
|
target_link_libraries(vpntest cedar mayaqua)
|