summaryrefslogtreecommitdiff
path: root/win/mysql_manifest.cmake
diff options
context:
space:
mode:
authorunknown <iggy@amd64.(none)>2007-07-25 13:18:12 -0400
committerunknown <iggy@amd64.(none)>2007-07-25 13:18:12 -0400
commita34879ebd2c6c02f77a2df080c4696f0039ebffa (patch)
tree623fcc797d96706b72d917a9c10fd8f6c7fc0c05 /win/mysql_manifest.cmake
parent1370b325c65337bbe79ad0e7739e9e663444c481 (diff)
downloadmariadb-git-a34879ebd2c6c02f77a2df080c4696f0039ebffa.tar.gz
Bug#24732 Executables do not include Vista manifests
- Sign executables with MySQL AB security certificate. BitKeeper/etc/ignore: Bug#24732 Executables do not include Vista manifests - Ignore security catalog descriptions CMakeLists.txt: Bug#24732 Executables do not include Vista manifests - Search for additional tools necessary to embed, catalog and sign targets. win/README: Bug#24732 Executables do not include Vista manifests - Add internal only note to EMBED_MANIFESTS option. win/create_manifest.js: Bug#24732 Executables do not include Vista manifests - Added publicKeyToken attribute to manifest. win/mysql_manifest.cmake: Bug#24732 Executables do not include Vista manifests - Add additional commands to create security catalog and sign targets. - Add parameters to add appropiate hash attribute to manifest and create security content description of the security catalog.
Diffstat (limited to 'win/mysql_manifest.cmake')
-rwxr-xr-xwin/mysql_manifest.cmake7
1 files changed, 4 insertions, 3 deletions
diff --git a/win/mysql_manifest.cmake b/win/mysql_manifest.cmake
index 4c88be1d800..0d429e438d6 100755
--- a/win/mysql_manifest.cmake
+++ b/win/mysql_manifest.cmake
@@ -14,7 +14,8 @@ MACRO(MYSQL_EMBED_MANIFEST _target_name _required_privs)
ADD_CUSTOM_COMMAND(
TARGET ${_target_name}
POST_BUILD
- COMMAND mt.exe
- ARGS -nologo -manifest $(IntDir)\\$(TargetFileName).intermediate.manifest -outputresource:$(TargetPath)
- COMMENT "Embeds the manifest contents.")
+ COMMAND mt.exe ARGS -nologo -hashupdate -makecdfs -manifest $(IntDir)\\$(TargetFileName).intermediate.manifest -outputresource:$(TargetPath)
+ COMMAND makecat.exe ARGS $(IntDir)\\$(TargetFileName).intermediate.manifest.cdf
+ COMMAND signtool.exe ARGS sign /a /t http://timestamp.verisign.com/scripts/timstamp.dll $(TargetPath)
+ COMMENT "Embeds the manifest contents, creates a cryptographic catalog, signs the target with Authenticode certificate.")
ENDMACRO(MYSQL_EMBED_MANIFEST)