diff options
author | lazydodo <github@lazydodo.com> | 2016-08-31 15:26:05 +0300 |
---|---|---|
committer | lazydodo <github@lazydodo.com> | 2016-08-31 15:26:23 +0300 |
commit | 8fb9f2dbe9cb69476bf1f98c8503e5acd446c5b0 (patch) | |
tree | ab93752f669309bd0b4774a7dd55eace1f95e919 /source/creator | |
parent | b06a70323c1ae8ead6e1249b70a201fff36c660f (diff) |
[Windows] Add support for code signing the final binaries.
The option is controlled with the WITH_WINDOWS_CODESIGN option and needs:
- Signtool must be found on the system, the standard windows sdk folders will be searched for it.
- The path to the pfx file (WINDOWS_CODESIGN_PFX)
- The password for the pfx , this can either be set by the WINDOWS_CODESIGN_PFX_PASSWORD variable but given that ends up in CMakeCache.txt (which might be undesirable) there is a backup option of setting the PFXPASSWORD environment variable on the system.
Reviewers: sergey, juicyfruit
Reviewed By: juicyfruit
Tags: #bf_blender, #platform:_windows
Differential Revision: https://developer.blender.org/D2182
Diffstat (limited to 'source/creator')
-rw-r--r-- | source/creator/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/creator/CMakeLists.txt b/source/creator/CMakeLists.txt index 7acea43d1f5..fc02dfda9d1 100644 --- a/source/creator/CMakeLists.txt +++ b/source/creator/CMakeLists.txt @@ -263,6 +263,7 @@ if(WITH_PYTHON_MODULE) else() add_executable(blender ${EXETYPE} ${SRC}) + WINDOWS_SIGN_TARGET(blender) endif() if(WITH_BUILDINFO) |