Go to file
Stephen Kelly 92f059774d 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.
2015-11-10 06:31:09 +11:00
build_files Change cpack package name to be "blender" instead of "Blender" 2015-11-07 08:34:27 +01:00
doc API Docs: use importlib in examples 2015-11-05 19:08:17 +11:00
extern OpenCL wrangler: Update to latest version to fix issues with -1001 error code 2015-10-29 20:37:38 +05:00
intern Revert "Increase CMake minimum version to 3.0" 2015-11-10 02:53:10 +11:00
release Fix T46522: DataTransfer modifier: Impossible to set multiple transfer modes by script 2015-11-06 19:27:39 +01:00
scons@625d446ae8 Fixed border extension for the sunbeams node. 2014-09-23 11:42:11 +02:00
source UI: avoid duplicating the string to set the cursor 2015-11-10 05:31:29 +11:00
tests BLI_math: add mat3_polar_decompose, interp_m3_m3m3 and interp_m4_m4m4. 2015-10-09 21:26:33 +02:00
.arcconfig Use HTTPS protocol for arc 2013-12-24 22:57:27 +06:00
.gitignore Revert "ignore conflict files" 2014-08-08 06:00:49 +10:00
.gitmodules Initialize git submodules for addons, locales and scons 2013-11-15 12:19:08 +06:00
CMakeLists.txt CMake: remove setting of policy CMP0043 to OLD. 2015-11-10 06:31:09 +11:00
COPYING == docs == 2010-10-13 14:44:22 +00:00
GNUmakefile Makefile: show build dir when configuring 2015-09-22 00:16:53 +10:00
SConstruct SCons: Support compilation with 10.11 SK on OS X 2015-10-05 14:48:04 +05:00