Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-11-13 18:29:17 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-11-13 18:29:17 +0400
commit64ca81ef0f34552c07301871c0de18933e3da8c1 (patch)
tree932abc7b11d5f1fec83cacde69392f4e283ea464 /GNUmakefile
parent7d0b5920c6d5d2bd889eab55679adaf39d146028 (diff)
allow passing vars to cmake from our makefile
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 640e90de74b..2ac3439d6aa 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -34,7 +34,10 @@ OS_NCASE:=$(shell uname -s | tr '[A-Z]' '[a-z]')
# Source and Build DIR's
BLENDER_DIR:=$(shell pwd -P)
BUILD_TYPE:=Release
-BUILD_CMAKE_ARGS:=
+
+ifndef BUILD_CMAKE_ARGS
+ BUILD_CMAKE_ARGS:=
+endif
ifndef BUILD_DIR
BUILD_DIR:=$(shell dirname $(BLENDER_DIR))/build/$(OS_NCASE)
@@ -123,6 +126,7 @@ help:
@echo " * bpy - build as a python module which can be loaded from python directly"
@echo ""
@echo " Note, passing the argument 'BUILD_DIR=path' when calling make will override the default build dir."
+ @echo " Note, passing the argument 'BUILD_CMAKE_ARGS=args' lets you add cmake arguments."
@echo ""
@echo ""
@echo "Project Files for IDE's"