34 lines
2.1 KiB
Python
34 lines
2.1 KiB
Python
BUILDDIR = '#build/release'
|
|
DISTDIR = '#Mitsuba.app'
|
|
CXX = 'icpc'
|
|
CC = 'icc'
|
|
CCFLAGS = ['-arch', 'x86_64', '-mmacosx-version-min=10.6', '-mfpmath=sse', '-isysroot', '/Developer/SDKs/MacOSX10.6.sdk', '-O3', '-ipo', '-xSSSE3', '-fp-model', 'fast=2', '-openmp', '-wd279', '-Wall', '-g', '-pipe']
|
|
CXXFLAGS = ['$CCFLAGS', '-std=c++0x', '-DMTS_DEBUG', '-DSINGLE_PRECISION', '-DSPECTRUM_SAMPLES=3', '-DMTS_SSE', '-DMTS_HAS_COHERENT_RT']
|
|
LINKFLAGS = ['-framework', 'OpenGL', '-framework', 'Cocoa', '-arch', 'x86_64', '-mmacosx-version-min=10.6', '-Wl,-syslibroot,/Developer/SDKs/MacOSX10.6.sdk', '-openmp', '-Wl,-headerpad,128']
|
|
BASEINCLUDE = ['#include']
|
|
BASELIB = ['m', 'pthread', 'gomp']
|
|
OEXRINCLUDE = ['#dependencies/darwin/OpenEXR.framework/Headers/OpenEXR']
|
|
OEXRLIBDIR = ['#dependencies/darwin/OpenEXR.framework/Resources/lib']
|
|
OEXRLIB = ['Half', 'IlmImf', 'Imath', 'z']
|
|
PNGINCLUDE = ['#dependencies/darwin/libpng.framework/Headers']
|
|
PNGLIBDIR = ['#dependencies/darwin/libpng.framework/Resources/lib']
|
|
PNGLIB = ['png']
|
|
JPEGINCLUDE = ['#dependencies/darwin/libjpeg.framework/Headers']
|
|
JPEGLIBDIR = ['#dependencies/darwin/libjpeg.framework/Resources/lib']
|
|
JPEGLIB = ['jpeg']
|
|
XERCESINCLUDE = ['#dependencies/darwin/Xerces-C.framework/Headers']
|
|
XERCESLIBDIR = ['#dependencies/darwin/Xerces-C.framework/Resources/lib']
|
|
XERCESLIB = ['xerces-c']
|
|
GLINCLUDE = ['#dependencies/darwin/GLEW.framework/Headers']
|
|
GLLIBDIR = ['#dependencies/darwin/GLEW.framework/Resources/libs']
|
|
GLLIB = ['GLEW', 'objc']
|
|
GLFLAGS = ['-DGLEW_MX']
|
|
BOOSTINCLUDE = ['#dependencies']
|
|
BOOSTLIB = ['boost_filesystem', 'boost_system']
|
|
BOOSTLIBDIR = ['#dependencies/darwin/libboost.framework/Resources/lib']
|
|
PYTHONINCLUDE = ['/System/Library/Frameworks/Python.framework/Versions/2.6/Headers']
|
|
PYTHONLIB = ['boost_python', 'boost_system', 'Python']
|
|
COLLADAINCLUDE = ['#dependencies/windows/include/colladadom', '#dependencies/windows/include/colladadom/1.4']
|
|
COLLADALIB = ['libCollada14Dom']
|
|
COLLADALIBDIR = ['#dependencies/darwin/Collada14Dom.framework/Resources/lib']
|