[Bf-blender-cvs] [c73ee8d9980] master: Makefile: Add build target for release
Aaron Carlisle
noreply at git.blender.org
Thu Jun 11 23:28:11 CEST 2020
Commit: c73ee8d99806c9ef59430004d9b0b5bff3feac36
Author: Aaron Carlisle
Date: Thu Jun 11 17:28:01 2020 -0400
Branches: master
https://developer.blender.org/rBc73ee8d99806c9ef59430004d9b0b5bff3feac36
Makefile: Add build target for release
Fixes T77353
===================================================================
M GNUmakefile
===================================================================
diff --git a/GNUmakefile b/GNUmakefile
index e3bb3eaff7a..93e2164dee8 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -32,6 +32,7 @@ Convenience Targets
* debug: Build a debug binary.
* full: Enable all supported dependencies & options.
* lite: Disable non essential features for a smaller binary and faster build.
+ * release Complete build with all options enabled including CUDA and Optix, matching the releases on blender.org
* headless: Build without an interface (renderfarm or server automation).
* cycles: Build Cycles standalone only, without Blender.
* bpy: Build as a python module which can be loaded from python directly.
@@ -207,6 +208,10 @@ ifneq "$(findstring lite, $(MAKECMDGOALS))" ""
BUILD_DIR:=$(BUILD_DIR)_lite
CMAKE_CONFIG_ARGS:=-C"$(BLENDER_DIR)/build_files/cmake/config/blender_lite.cmake" $(CMAKE_CONFIG_ARGS)
endif
+ifneq "$(findstring release, $(MAKECMDGOALS))" ""
+ BUILD_DIR:=$(BUILD_DIR)_release
+ CMAKE_CONFIG_ARGS:=-C"$(BLENDER_DIR)/build_files/cmake/config/blender_release.cmake" $(CMAKE_CONFIG_ARGS)
+endif
ifneq "$(findstring cycles, $(MAKECMDGOALS))" ""
BUILD_DIR:=$(BUILD_DIR)_cycles
CMAKE_CONFIG_ARGS:=-C"$(BLENDER_DIR)/build_files/cmake/config/cycles_standalone.cmake" $(CMAKE_CONFIG_ARGS)
@@ -317,6 +322,7 @@ all: .FORCE
debug: all
full: all
lite: all
+release: all
cycles: all
headless: all
bpy: all
More information about the Bf-blender-cvs
mailing list