http://www.miikahweb.com/feed.php MiikaHweb - Blender Commits By Steveire http://www.miikahweb.com/ MiikaHweb - Blender Commits By Steveire fi Fri, 18 Sep 20 13:23:13 +0000 MiikaHweb RSS contact at miikahweb.com <![CDATA[[92f0597] master: CMake: remove setting of policy CMP0043 to OLD.]]> http://www.miikahweb.com/en/blender/git-logs/commit/92f059774d30faf73a695138456f57de49a9b5e4 92f0597
Branches : master
Author : Stephen Kelly (steveire)
Committed By : Campbell Barton (campbellbarton)
----------------------------------------
CMake: remove setting of policy CMP0043 to OLD.

CMake 3.0 ignores the suffixed COMPILE_DEFINITIONS_<CONFIG> variants if policy
CMP0043 is NEW, preferring instead to consume the unsuffixed COMPILE_DEFINITONS
property and evaluate generator expressions in it.

Setting the policy to OLD causes CMake 3.0 to not ignore those properties.

Use the suffixed properties for compatibility only for CMake versions older
than 3.0 using an explicit version check. Use the non-suffixed property with
generator expressions otherwise.

These definitions should mostly not be needed at all - CMake already sets
NDEBUG in suffixed CMAKE_CXX_FLAGS_<CONFIG> variables. The _DEBUG macro is
non-standard, but is used in several places in blender (usually in an OR
combination with the DEBUG macro). Additionally, blender overwrites (instead
of appending to) the CMAKE_CXX_FLAGS_<CONFIG> variables on WIN32.

Rather than try to fundamentally change how debug-macros are handled in
blender, change the buildsystem to keep the same behavior without requiring the
CMP0043 policy set to OLD.

----------------------------------------
1 Path Changed]]>
Mon, 09 Nov 2015 19:31:09 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/92f059774d30faf73a695138456f57de49a9b5e4Stephen Kelly