[CMake] Verify MS runtime libraries with new CMake Module
Bill Hoffman
bill.hoffman at kitware.com
Wed Oct 28 14:23:05 EDT 2009
In CVS CMake and in the new 2.8 RC 4, there is a new module called:
CMakeVerifyManifest.cmake.
To run it, cd into the binary install directory for your project and run
cmake -P /path/to/CMakeVerifyManifest.cmake. It will check dll and exe
files for embedded manifests and make sure they match the shipped
manifests with a project. The script will return non zero if there is a
problem, so it can be used as a test.
Here is the output from running it on the CMake install:
$ ./cmake -P ../share/cmake-2.8/Modules/CMakeVerifyManifest.cmake
Versions found in C:/Program Files/CMake
2.8/bin/Microsoft.VC90.CRT.manifest: 9.0.21022.8
Information: no embeded manifest in: C:/Program Files/CMake
2.8/bin/msvcm90.dll
Information: no embeded manifest in: C:/Program Files/CMake
2.8/bin/msvcp90.dll
Information: no embeded manifest in: C:/Program Files/CMake
2.8/bin/msvcr90.dll
-Bill
More information about the CMake
mailing list