You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
353 B
10 lines
353 B
configure_file(test.manifest.in test.manifest)
|
|
add_executable(MSManifest main.c ${CMAKE_CURRENT_BINARY_DIR}/test.manifest)
|
|
|
|
if(MSVC AND NOT MSVC_VERSION LESS 1400)
|
|
add_custom_command(TARGET MSManifest POST_BUILD VERBATIM
|
|
COMMAND ${CMAKE_COMMAND} -Dexe=$<TARGET_FILE:MSManifest>
|
|
-P ${CMAKE_CURRENT_SOURCE_DIR}/check.cmake
|
|
)
|
|
endif()
|