2011-06-01 08:20:53 +08:00
|
|
|
BUILDDIR = '#build/release'
|
2011-07-18 20:20:02 +08:00
|
|
|
DISTDIR = '#Mitsuba.app'
|
2011-08-16 03:40:54 +08:00
|
|
|
CXX = 'g++'
|
|
|
|
CC = 'gcc'
|
2011-08-15 09:18:39 +08:00
|
|
|
CXXFLAGS = ['-arch', 'i386', '-arch', 'x86_64', '-mmacosx-version-min=10.6', '-march=nocona', '-msse2', '-mfpmath=sse', '-ftree-vectorize', '-funsafe-math-optimizations', '-fno-rounding-math', '-fno-signaling-nans', '-fomit-frame-pointer', '-isysroot', '/Developer/SDKs/MacOSX10.6.sdk', '-O3', '-Wall', '-g', '-pipe', '-DMTS_DEBUG', '-DSINGLE_PRECISION', '-DSPECTRUM_SAMPLES=3', '-DMTS_SSE', '-DMTS_HAS_COHERENT_RT', '-fopenmp', '-fstrict-aliasing', '-fsched-interblock', '-freorder-blocks']
|
2011-08-17 11:13:04 +08:00
|
|
|
LINKFLAGS = ['-framework', 'OpenGL', '-framework', 'Cocoa', '-arch', 'i386', '-arch', 'x86_64', '-mmacosx-version-min=10.6', '-Wl,-syslibroot,/Developer/SDKs/MacOSX10.6.sdk', '-Wl,-headerpad,128']
|
2010-08-10 01:38:37 +08:00
|
|
|
BASEINCLUDE = ['#include']
|
|
|
|
BASELIB = ['m', 'pthread', 'gomp']
|
2010-11-21 02:03:10 +08:00
|
|
|
OEXRINCLUDE = ['#dependencies/darwin/OpenEXR.framework/Headers/OpenEXR']
|
|
|
|
OEXRLIBDIR = ['#dependencies/darwin/OpenEXR.framework/Resources/lib']
|
2011-04-25 06:07:46 +08:00
|
|
|
OEXRLIB = ['Half', 'IlmImf', 'Imath', 'z']
|
2010-11-21 02:03:10 +08:00
|
|
|
PNGINCLUDE = ['#dependencies/darwin/libpng.framework/Headers']
|
|
|
|
PNGLIBDIR = ['#dependencies/darwin/libpng.framework/Resources/lib']
|
2010-08-10 01:38:37 +08:00
|
|
|
PNGLIB = ['png']
|
2010-11-21 02:03:10 +08:00
|
|
|
JPEGINCLUDE = ['#dependencies/darwin/libjpeg.framework/Headers']
|
|
|
|
JPEGLIBDIR = ['#dependencies/darwin/libjpeg.framework/Resources/lib']
|
2010-08-10 01:38:37 +08:00
|
|
|
JPEGLIB = ['jpeg']
|
2010-11-21 02:03:10 +08:00
|
|
|
XERCESINCLUDE = ['#dependencies/darwin/Xerces-C.framework/Headers']
|
|
|
|
XERCESLIBDIR = ['#dependencies/darwin/Xerces-C.framework/Resources/lib']
|
2010-08-10 01:38:37 +08:00
|
|
|
XERCESLIB = ['xerces-c']
|
2010-11-21 02:03:10 +08:00
|
|
|
GLINCLUDE = ['#dependencies/darwin/GLEW.framework/Headers']
|
|
|
|
GLLIBDIR = ['#dependencies/darwin/GLEW.framework/Resources/libs']
|
2010-08-10 01:38:37 +08:00
|
|
|
GLLIB = ['GLEW', 'objc']
|
|
|
|
GLFLAGS = ['-DGLEW_MX']
|
2010-11-21 08:49:27 +08:00
|
|
|
BOOSTINCLUDE = ['#dependencies']
|
|
|
|
BOOSTLIB = ['boost_filesystem', 'boost_system']
|
2011-02-03 16:15:25 +08:00
|
|
|
BOOSTLIBDIR = ['#dependencies/darwin/libboost.framework/Resources/lib']
|
2011-08-15 09:18:39 +08:00
|
|
|
PYTHONINCLUDE = ['/System/Library/Frameworks/Python.framework/Versions/2.6/Headers']
|
2011-08-15 07:30:06 +08:00
|
|
|
PYTHONLIB = ['boost_python', 'boost_system', 'Python']
|
2010-11-21 02:03:10 +08:00
|
|
|
COLLADAINCLUDE = ['#dependencies/windows/include/colladadom', '#dependencies/windows/include/colladadom/1.4']
|
2010-08-10 01:38:37 +08:00
|
|
|
COLLADALIB = ['libCollada14Dom']
|
2010-11-21 02:03:10 +08:00
|
|
|
COLLADALIBDIR = ['#dependencies/darwin/Collada14Dom.framework/Resources/lib']
|