From c73ee8d99806c9ef59430004d9b0b5bff3feac36 Mon Sep 17 00:00:00 2001 From: Aaron Carlisle Date: Thu, 11 Jun 2020 17:28:01 -0400 Subject: Makefile: Add build target for release Fixes T77353 --- GNUmakefile | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- cgit v1.2.3