e134e53b47
Classify .manifest sources separately, add dependencies on them, and pass them to the MS manifest tool to merge with linker-generated manifest files. Inspired-by: Gilles Khouzam <gillesk@microsoft.com>
7 lines
243 B
CMake
7 lines
243 B
CMake
file(STRINGS "${exe}" content REGEX "name=\"Kitware.CMake.MSManifestTest\"")
|
|
if(content)
|
|
message(STATUS "Expected manifest content found:\n ${content}")
|
|
else()
|
|
message(FATAL_ERROR "Expected manifest content not found in\n ${exe}")
|
|
endif()
|