diff --git a/build/config-macos10.9-gcc-x86_64.py b/build/config-macos10.9-gcc-x86_64.py new file mode 100644 index 00000000..37039f0c --- /dev/null +++ b/build/config-macos10.9-gcc-x86_64.py @@ -0,0 +1,32 @@ +BUILDDIR = '#build/release' +DISTDIR = '#Mitsuba.app' +CXX = 'clang++' +CC = 'clang' +CCFLAGS = ['-arch', 'x86_64', '-mmacosx-version-min=10.9', '-march=nocona', '-msse2', '-ftree-vectorize', '-funsafe-math-optimizations', '-fno-math-errno', '-isysroot', '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk', '-O3', '-Wall', '-g', '-pipe', '-DMTS_DEBUG', '-DSINGLE_PRECISION', '-DSPECTRUM_SAMPLES=3', '-DMTS_SSE', '-DMTS_HAS_COHERENT_RT', '-fstrict-aliasing', '-fsched-interblock', '-freorder-blocks', '-fvisibility=hidden', '-ftemplate-depth=512', '-stdlib=libstdc++'] +LINKFLAGS = ['-framework', 'OpenGL', '-framework', 'Cocoa', '-arch', 'x86_64', '-mmacosx-version-min=10.9', '-Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk', '-Wl,-headerpad,128', '-stdlib=libstdc++'] +BASEINCLUDE = ['#include', '#dependencies/include'] +BASELIBDIR = ['#dependencies/lib'] +BASELIB = ['m', 'pthread', 'Half'] +OEXRINCLUDE = ['#dependencies/include/OpenEXR'] +OEXRLIB = ['IlmImf', 'Imath', 'Iex', 'z'] +PNGLIB = ['png'] +JPEGLIB = ['jpeg'] +XERCESLIB = ['xerces-c'] +GLLIB = ['GLEWmx', 'objc'] +GLFLAGS = ['-DGLEW_MX'] +BOOSTINCLUDE = ['#dependencies'] +BOOSTLIB = ['boost_filesystem', 'boost_system', 'boost_thread'] +PYTHON26INCLUDE= ['/System/Library/Frameworks/Python.framework/Versions/2.6/Headers'] +PYTHON26LIBDIR = ['/System/Library/Frameworks/Python.framework/Versions/2.6/lib'] +PYTHON26LIB = ['boost_python26', 'boost_system'] +PYTHON27INCLUDE= ['/System/Library/Frameworks/Python.framework/Versions/2.7/Headers'] +PYTHON27LIBDIR = ['/System/Library/Frameworks/Python.framework/Versions/2.7/lib'] +PYTHON27LIB = ['boost_python27', 'boost_system'] +PYTHON33INCLUDE= ['#dependencies/include/python3.3'] +PYTHON33LIB = ['boost_python33', 'boost_system'] +PYTHON34INCLUDE= ['#dependencies/include/python3.4'] +PYTHON34LIB = ['boost_python34', 'boost_system'] +COLLADAINCLUDE = ['#dependencies/include/collada-dom', '#dependencies/include/collada-dom/1.4'] +COLLADALIB = ['collada14dom24'] +QTDIR = '#dependencies' +FFTWLIB = ['fftw3.3']