diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2009-10-21 17:34:45 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2009-10-21 17:34:45 (GMT) |
commit | 1c4621fb3a97c03f2cf37912c3bab285d4549f36 (patch) | |
tree | 955b63b0e2498ca23a04340c977cf709845ad00a /Modules/CMakeVerifyManifest.cmake | |
parent | 418ca3d70ddcf653c6467e1011d1ffaebb64f787 (diff) | |
download | CMake-1c4621fb3a97c03f2cf37912c3bab285d4549f36.zip CMake-1c4621fb3a97c03f2cf37912c3bab285d4549f36.tar.gz CMake-1c4621fb3a97c03f2cf37912c3bab285d4549f36.tar.bz2 |
Add a module to test an install tree to verify that the MS CRT version is correct.
Diffstat (limited to 'Modules/CMakeVerifyManifest.cmake')
-rw-r--r-- | Modules/CMakeVerifyManifest.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/CMakeVerifyManifest.cmake b/Modules/CMakeVerifyManifest.cmake index 854a2ea..84d32f3 100644 --- a/Modules/CMakeVerifyManifest.cmake +++ b/Modules/CMakeVerifyManifest.cmake @@ -16,6 +16,7 @@ # of CRT are compared to those found in the .manifest files # from the first glob. +# crt_version: # function to extract the CRT version from a file # this can be passed a .exe, .dll, or a .manifest file # it will put the list of versions found into the variable @@ -44,6 +45,9 @@ function(crt_version file list_var) endif() endfunction(crt_version) set(fatal_error FALSE) + +# check_version: +# # test a file against the shipped manifest versions # for a directory function(check_version file manifest_versions) |