buildinfo is now quoted from the build systems, avoids stripping quotes on startup.
tested with linux/cmake linux/scons windows/cmake/mingw windows/cmake/msvc
This commit is contained in:
@@ -62,6 +62,22 @@ set(CMAKE_BUILD_TYPE_INIT "Release")
|
||||
# quiet output for Makefiles, 'make -s' helps too
|
||||
# set_property(GLOBAL PROPERTY RULE_MESSAGES OFF)
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
# Set policy
|
||||
|
||||
# see "cmake --help-policy CMP0003"
|
||||
# So library linking is more sane
|
||||
cmake_policy(SET CMP0003 NEW)
|
||||
|
||||
# So BUILDINFO and BLENDERPATH strings are automatically quoted
|
||||
cmake_policy(SET CMP0005 NEW)
|
||||
|
||||
# So syntax problems are errors
|
||||
cmake_policy(SET CMP0010 NEW)
|
||||
|
||||
# Input directories must have CMakeLists.txt
|
||||
cmake_policy(SET CMP0014 NEW)
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
# Load some macros.
|
||||
include(build_files/cmake/macros.cmake)
|
||||
|
Reference in New Issue
Block a user