[osg-users] OSX tessellator callback options.
robert.osfield at gmail.com
Wed Oct 3 15:32:45 PDT 2007
Since it seems like its the CMake Xcode vs Makefile builds are the
original source for this issue I've added some extra controls into
OpenSceneGraph/CMakeLists.txt that should allow us to override the
defaults for each platform when they "mysteriously" break as seems to
have done over the last week.
Within ccmake you now are presented with the option :
Which defaults to OFF on all platforms except OSX and AIX. You can
toggle this within ccmake and then configure and build what ever you
Next up is the ability to override your platforms default setting via
the CMake variable DDEFAULT_GLU_TESS_CALLBACK_TRIPLEDOT, on the
command line you can do:
cmake . -DDDEFAULT_GLU_TESS_CALLBACK_TRIPLEDOT=ON
To enable the use of (...) version of glu tessellator callbacks or:
cmake . -DDDEFAULT_GLU_TESS_CALLBACK_TRIPLEDOT=OFF
To disable it.
My hope is that this will give you all enough flexibility to fix
things even if on your particular platform/OS version/build system
combination doesn't work you can override in a consistent manner.
Let me know how you get on.
-- The addition to OpenSceneGraph/CMakeLists.txt looks like:
IF (CMAKE_SYSTEM MATCHES "AIX.*")
ENDIF(CMAKE_SYSTEM MATCHES "AIX.*")
OPTION(OSG_GLU_TESS_CALLBACK_TRIPLEDOT "Set to ON to build build with
(...) version of GLU tesselator callback"
More information about the osg-users