[Bf-blender-cvs] [7a6a7d9] blender-v2.78-release: CMake: Skip addons_contrib for release candidate builds

Sergey Sharybin noreply at git.blender.org
Wed Sep 14 10:38:11 CEST 2016


Commit: 7a6a7d9f7c73e592f76b982b28ec62dfdef4e6ae
Author: Sergey Sharybin
Date:   Fri Sep 2 14:42:01 2016 +0200
Branches: blender-v2.78-release
https://developer.blender.org/rB7a6a7d9f7c73e592f76b982b28ec62dfdef4e6ae

CMake: Skip addons_contrib for release candidate builds

Nowadays release candidates are supposed to be as close to the final
release as possible.

Safe for 2.78 release branch.

===================================================================

M	source/creator/CMakeLists.txt

===================================================================

diff --git a/source/creator/CMakeLists.txt b/source/creator/CMakeLists.txt
index fc02dfd..f65688e 100644
--- a/source/creator/CMakeLists.txt
+++ b/source/creator/CMakeLists.txt
@@ -338,7 +338,8 @@ if(WITH_PYTHON)
 	# install(CODE "message(\"copying blender scripts...\")")
 	
 	# exclude addons_contrib if release
-	if("${BLENDER_VERSION_CYCLE}" STREQUAL "release")
+	if("${BLENDER_VERSION_CYCLE}" STREQUAL "release" OR
+	   "${BLENDER_VERSION_CYCLE}" STREQUAL "rc")
 		set(ADDON_EXCLUDE_CONDITIONAL "addons_contrib/*")
 	else()
 		set(ADDON_EXCLUDE_CONDITIONAL "_addons_contrib/*")  # dummy, wont do anything




More information about the Bf-blender-cvs mailing list