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>2018-09-13 09:20:02 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-09-13 09:20:02 +0300
commit99e06af9c8c2d2c92570796f76baefd405a3b67a (patch)
treed3b57a051e73ee71ebb666f33ef89d57d856ad67 /GNUmakefile
parentffe5b92325a2a75d691adfacac9b8259e5e6d577 (diff)
Cleanup: move 'make help_features' into own file
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile10
1 files changed, 1 insertions, 9 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 13f8a558c3a..02e081e03df 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -474,15 +474,7 @@ doc_man: .FORCE
$(PYTHON) doc/manpage/blender.1.py $(BLENDER_BIN) blender.1
help_features: .FORCE
- @$(PYTHON) -c \
- "import re; \
- print('\n'.join([ \
- w for l in open('"$(BLENDER_DIR)"/CMakeLists.txt', 'r').readlines() \
- if not l.lstrip().startswith('#') \
- for w in (re.sub(\
- r'.*\boption\s*\(\s*(WITH_[a-zA-Z0-9_]+)\s+(\".*\")\s*.*', r'\g<1> - \g<2>', l).strip('() \n'),) \
- if w.startswith('WITH_')]))" | uniq
-
+ @$(PYTHON) "$(BLENDER_DIR)/build_files/cmake/cmake_print_build_options.py" $(BLENDER_DIR)"/CMakeLists.txt"
clean: .FORCE
$(MAKE) -C "$(BUILD_DIR)" clean