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:
authorStefan Gartner <stefang@aon.at>2009-12-21 13:38:04 +0300
committerStefan Gartner <stefang@aon.at>2009-12-21 13:38:04 +0300
commit5e6e3453a581f7f2bafae1ce4ebeba113a523c86 (patch)
treee63901f340c6e2e0c8f3f82fa128fd5127ef6c27 /intern/ghost
parentf7f06d96f3c13623448d899e1fe2577ed6cbf996 (diff)
OS X: added support for building with Cocoa to Makefiles
to build with Cocoa support, set WITH_COCOA to true in user-def.mk
Diffstat (limited to 'intern/ghost')
-rw-r--r--intern/ghost/intern/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/intern/ghost/intern/Makefile b/intern/ghost/intern/Makefile
index 5b95bbb3b68..a6392662c30 100644
--- a/intern/ghost/intern/Makefile
+++ b/intern/ghost/intern/Makefile
@@ -41,7 +41,15 @@ CCSRCS += GHOST_CallbackEventConsumer.cpp
CCSRCS += GHOST_NDOFManager.cpp
ifeq ($(OS),$(findstring $(OS), "darwin"))
- CCSRCS += $(wildcard *Carbon.cpp)
+ ifeq ($(WITH_COCOA), true)
+ OCSRCS += $(wildcard *Cocoa.mm)
+ CPPFLAGS += -DGHOST_COCOA
+ ifeq ($(WITH_QUICKTIME), true)
+ CPPFLAGS += -DWITH_QUICKTIME
+ endif
+ else
+ CCSRCS += $(wildcard *Carbon.cpp)
+ endif
endif
ifeq ($(OS),$(findstring $(OS), "windows"))