28 lines
948 B
Plaintext
28 lines
948 B
Plaintext
# Pixar-specific settings
|
|
|
|
ifneq (${VERBOSE},)
|
|
$(info Including pixar/Makefile-bits)
|
|
endif
|
|
|
|
MY_CMAKE_FLAGS += -DUSE_fPIC:BOOL=1
|
|
MY_CMAKE_FLAGS += -DENABLERTTI:BOOL=1
|
|
MY_CMAKE_FLAGS += -DSTOP_ON_WARNING:BOOL=0
|
|
MY_CMAKE_FLAGS += -DHIDE_SYMBOLS:BOOL=1
|
|
MY_CMAKE_FLAGS += -DBUILDSTATIC:BOOL=1
|
|
MY_CMAKE_FLAGS += -DLINKSTATIC:BOOL=1
|
|
MY_CMAKE_FLAGS += -DUSE_FAST_MATH:BOOL=1
|
|
MY_CMAKE_FLAGS += -DOPENEXR_CUSTOM_LIB_DIR:STRING=${ILMBASE_HOME}/lib/linux-ix86-64/gcc4.1
|
|
MY_CMAKE_FLAGS += -DOPENEXR_CUSTOM_LIB_SUFFIX:STRING="-fPIC"
|
|
|
|
# Don't build testshade or testrender (mostly because they require the
|
|
# image-handling parts of OIIO, which Pixar doesn't build)
|
|
MY_CMAKE_FLAGS += -DOSL_BUILD_TESTS:BOOL=0
|
|
|
|
# Don't let OSL create a default OIIO::TextureSystem. If the renderer
|
|
# doesn't pass in whatever proxy it wants, it will assert.
|
|
MY_CMAKE_FLAGS += -DOSL_NO_DEFAULT_TEXTURESYSTEM:BOOL=1
|
|
|
|
ifneq (${VERBOSE},)
|
|
$(info MY_CMAKE_FLAGS: $(MY_CMAKE_FLAGS))
|
|
endif
|