Brad King e134e53b47 Add support for *.manifest source files with MSVC tools
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>
2015-09-17 10:21:32 -04:00

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()