2018-11-27 07:26:21 +03:00
|
|
|
set(COMPONENT_NAME "Testing Utility")
|
|
|
|
set(COMPONENT_INTERNAL_NAME "vpntest")
|
2018-10-24 20:23:07 +03:00
|
|
|
|
2018-11-27 07:26:21 +03:00
|
|
|
add_executable(vpntest vpntest.c vpntest.h)
|
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}"
|
|
|
|
)
|
2018-11-27 07:26:21 +03:00
|
|
|
|
|
|
|
get_filename_component(COMPONENT_FILE_NAME vpntest NAME)
|
|
|
|
set(COMPONENT_FILE_NAME "${COMPONENT_FILE_NAME}.exe")
|
|
|
|
|
2020-07-20 19:31:41 +03:00
|
|
|
configure_file("${TOP_DIRECTORY}/src/BuildFiles/VerScript/ver.rc" "${CMAKE_CURRENT_BINARY_DIR}/ver.rc")
|
2018-11-27 07:26:21 +03:00
|
|
|
|
2021-03-27 02:33:20 +03:00
|
|
|
target_sources(vpntest PRIVATE
|
|
|
|
"vpntest.rc"
|
|
|
|
"ver.rc"
|
|
|
|
|
|
|
|
"${TOP_DIRECTORY}/src/BuildFiles/Manifests/common.manifest"
|
|
|
|
)
|
2018-11-18 06:18:42 +03:00
|
|
|
endif()
|
|
|
|
|
2018-10-08 06:10:54 +03:00
|
|
|
target_link_libraries(vpntest cedar mayaqua)
|