Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
BlenderPhi
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
raas
BlenderPhi
Commits
e1575e5b
Commit
e1575e5b
authored
Feb 19, 2011
by
Campbell Barton
Browse files
Options
Downloads
Patches
Plain Diff
add 'make debug' option for stub cmake makefile.
parent
65ce537c
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
GNUmakefile
+13
-1
13 additions, 1 deletion
GNUmakefile
with
13 additions
and
1 deletion
GNUmakefile
+
13
−
1
View file @
e1575e5b
...
...
@@ -37,6 +37,15 @@ BLENDER_DIR:=$(shell pwd -P)
BUILD_DIR
:=
$(
shell
dirname
$(
BLENDER_DIR
))
/build/
$(
OS_NCASE
)
# support 'make debug'
ifneq
"$(findstring debug, $(MAKECMDGOALS))" ""
BUILD_DIR
:=
$(
BUILD_DIR
)
_debug
BUILD_TYPE
:=
Debug
else
BUILD_TYPE
:=
Release
endif
# Get the number of cores for threaded build
NPROCS
:=
1
ifeq
($(OS), Linux)
...
...
@@ -61,7 +70,7 @@ all:
if
test
!
-f
$(BUILD_DIR)/CMakeCache.txt
;
then
\
mkdir
-p
$(BUILD_DIR)
;
\
cd
$(BUILD_DIR)
;
\
cmake $(BLENDER_DIR) -DCMAKE_BUILD_TYPE
:
STRING=
Release
;
\
cmake $(BLENDER_DIR) -DCMAKE_BUILD_TYPE
:
STRING=
$(BUILD_TYPE)
;
\
fi
@echo
...
...
@@ -71,6 +80,9 @@ all:
@echo
run
blender
from
"$(BUILD_DIR)/bin/blender"
@echo
debug
:
all
# pass
# package types
package_debian
:
cd
build_files/package_spec
;
sh ./build_debian.sh
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment