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
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to