From 1c4621fb3a97c03f2cf37912c3bab285d4549f36 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Wed, 21 Oct 2009 13:34:45 -0400 Subject: [PATCH] Add a module to test an install tree to verify that the MS CRT version is correct. --- Modules/CMakeVerifyManifest.cmake | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Modules/CMakeVerifyManifest.cmake b/Modules/CMakeVerifyManifest.cmake index 854a2eadf..84d32f332 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)