The problem with the current state in OSG lies in the fact that the build system allows to override too few variables - way too many variables don't show up as a swich in ccmake and you can't override them with "-D" on the cmake command line. This is what I've been complaining - and I suspect that the current trouble on non-mainstram platforms will not see any solution if this state remains.
So I am not clear on your usage case such that -D will not work for you. Can you give me some specific examples? My understanding is that -D is the ultimate override and will define values no matter what (including inventing values we don't actually define). For every dependency we need, we always need a variable for the library and another for the include path. So I would expect -D would be able to cover all your situations. But maybe I'm missing something. But for your usage, I still recommend defining or overriding CMAKE_(INCLUDE|LIBRARY)_PATH or CMAKE_SYSTEM_*_PATH. I think for your usage pattern, this would probably be adequate and be simpler than -D. If this doesn't work for you, I would like to know what circumstances make this fail. -Eric _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
