Cleanup: Windows Manifest usage.
We had a manifest file, but it was seemingly not used, some settings were done using linker pragmas, some of them visual studio would set by default for us, others where not set at all. This patch changes: - Single manifest file where we can maintain all settings in a single location, removal of any linker pragmas related to the manifest. - Compatibly settings for win vista - win10, without this any call to any of the GetVersion and related functions (GetVersionEx, VerifyVersionInfo, IsWindowsXxxx) will by default say we are on vista and OS specific optimizations in external libraries may be missed. -Rather than having it in the .RC file in an #ifdef which may or may not trigger depending on the build tool used, we tell cmake to treat it as a source file and it will do the right thing for both the ninja and visual studio generators. Differential Revision: https://developer.blender.org/D6136 Reviewers: brecht
This commit is contained in:
@@ -149,6 +149,7 @@ if(WIN32 AND NOT UNIX)
|
||||
|
||||
list(APPEND SRC
|
||||
${CMAKE_SOURCE_DIR}/release/windows/icons/winblender.rc
|
||||
${CMAKE_SOURCE_DIR}/release/windows/icons/blender.exe.manifest
|
||||
)
|
||||
endif()
|
||||
|
||||
|
Reference in New Issue
Block a user