diff options
author | Martijn Berger <martijn.berger@gmail.com> | 2014-08-01 15:43:12 +0400 |
---|---|---|
committer | Martijn Berger <martijn.berger@gmail.com> | 2014-08-01 15:43:12 +0400 |
commit | c9366a29693082555c1388717d7a99c08da5477c (patch) | |
tree | 674897da34b1f79f8fa637026dd19edb5b54d72e /build_files/scons/config | |
parent | 42aef164f44e90df0e85cea4361c0537d11c925d (diff) |
Make build work with llvm3.4 and oiio 1.4
Diffstat (limited to 'build_files/scons/config')
-rw-r--r-- | build_files/scons/config/win64-vc-config.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/build_files/scons/config/win64-vc-config.py b/build_files/scons/config/win64-vc-config.py index d94de3b54e4..cb6559fb74b 100644 --- a/build_files/scons/config/win64-vc-config.py +++ b/build_files/scons/config/win64-vc-config.py @@ -157,7 +157,7 @@ BF_COLLADA_LIB = 'bf_collada' BF_OPENCOLLADA = LIBDIR + '/opencollada' BF_OPENCOLLADA_INC = '${BF_OPENCOLLADA}/include/opencollada' -BF_OPENCOLLADA_LIB = 'OpenCOLLADAStreamWriter OpenCOLLADASaxFrameworkLoader OpenCOLLADAFramework OpenCOLLADABaseUtils GeneratedSaxParser MathMLSolver xml pcre buffer ftoa UTF' +BF_OPENCOLLADA_LIB = 'OpenCOLLADAStreamWriter OpenCOLLADASaxFrameworkLoader OpenCOLLADAFramework OpenCOLLADABaseUtils GeneratedSaxParser MathMLSolver xml pcre buffer ftoa' BF_OPENCOLLADA_LIBPATH = '${BF_OPENCOLLADA}/lib/opencollada' WITH_BF_3DMOUSE = True @@ -186,7 +186,7 @@ WITH_BF_OIIO = True BF_OIIO = '${LIBDIR}/openimageio' BF_OIIO_INC = '${BF_OIIO}/include' BF_OIIO_LIBPATH = '${BF_OIIO}/lib' -BF_OIIO_LIB_STATIC = '${BF_OIIO_LIBPATH}/OpenImageIO.lib' +BF_OIIO_LIB_STATIC = '${BF_OIIO_LIBPATH}/OpenImageIO.lib ${BF_OIIO_LIBPATH}/OpenImageIO_Util.lib' WITH_BF_STATICOIIO = True WITH_BF_OCIO = True @@ -236,6 +236,7 @@ CCFLAGS = ['/nologo', '/J', '/W3', '/Gd', '/w34062', '/wd4018', '/wd4065', '/wd4 # We want to support Vista level ABI for x64 if VC_VERSION == '12.0': CCFLAGS.append('/D_WIN32_WINNT=0x600') + CCFLAGS.append('/DOIIO_STATIC_BUILD') # OIIO api changed with 1.4 making this needed CXXFLAGS = ['/EHsc'] BGE_CXXFLAGS = ['/O2', '/Ob2', '/EHsc', '/GR', '/fp:fast'] |