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:
authorDamien Plisson <damien.plisson@yahoo.fr>2009-10-29 21:06:49 +0300
committerDamien Plisson <damien.plisson@yahoo.fr>2009-10-29 21:06:49 +0300
commitb1a832a7e2f2574d4f11a5aad0caf97318142ac7 (patch)
treec410e19f270ec9ffcd2b8205f55dbc60470e4c1e /SConstruct
parentf5d62d885be1b040a3060fd3846ad2c08a05ad99 (diff)
Mac / COCOA : Imbuf
- replace libtiff by calls to Cocoa services to load/save tiff files (Libtiff, dynamically linked is not distributed with OS X, and would have had to be shipped for all four architectures) The imb_cocoaLoadImage & imb_cocoaSaveImage are generic towards the bitmap format, and thus can handle TIFF, GIF, JPG, JP2000, BMP and raw camera formats (read-only for these), even if today only TIFF is used as the other formats are already handled. - CMake updated - scons updated (Thx to Jens Verwiebe)
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct5
1 files changed, 5 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index 6d18000a984..cb90c2eaf66 100644
--- a/SConstruct
+++ b/SConstruct
@@ -217,6 +217,11 @@ if env['WITH_BF_OPENMP'] == 1:
env.Append(CPPFLAGS=['-fopenmp'])
env.Append(CXXFLAGS=['-fopenmp'])
+if env['WITH_GHOST_COCOA'] == True:
+ env.Append(CFLAGS=['-DGHOST_COCOA'])
+ env.Append(CXXFLAGS=['-DGHOST_COCOA'])
+ env.Append(CPPFLAGS=['-DGHOST_COCOA'])
+
#check for additional debug libnames
if env.has_key('BF_DEBUG_LIBS'):