Hi Harwig,
On Fri, Dec 4, 2009 at 4:29 PM, Hartwig Wiesmann
<[email protected]> wrote:
> I do not use makefiles on any of the supported platforms (actually, I do not
> use any terminal dependent software if I can prevent it). Therefore, I need
> to know which platform uses which macros or defines.
Terminal isn't evil you know, it's one of the most powerful tools
available to programmers, buy discarding it you basically throw away
the ability to do lots of tasks. No modern programmer should be
without the skills to use the terminal, trying to avoid this really is
not going to help you get along with the needs of modern programming.
> Furthermore, I really dislike to use libraries "out of the box" without
> knowing what kind of parameters they set. Example: I am supporting OS X 10.4
> but the CMake files automatically compile for OSX 10.5 as I have 10.5
> installed. Therefore, sometimes the wrong include files or libraries are
> linked in.
> Of course I can check which flags CMake files use but this only shifts
> looking for defines from the source code to the makefiles. And I have never
> found any documented makefiles as far as I can remember. So, catching the
> meaning of makefiles is often more difficult than the meaning of source code.
The OSG is cross platform library, that handles being built against a
multitude of different dependencies. CMake is absolutely awesome at
handle the complexity of what we require from a build. Cmake does
provide the ability to check the settings it has and ammend them, it
also provide the CMakeCache.txt file that you can inspect, and also
configure it to use verbose build output that will show you everything
it's doing during the build. For instance try:
make VERBOSE=1
CMake support for OSX isn't ideal though, which is frustrating, there
are ways and means around different issues. I don't have an OSX box,
and only build on OSX occasionally and when I do it's just using
terminals - typically I do builds remote via ssh on OSX machines to
get round the my lack of OSX boxes. Others in the community user OSX
day in day out and with XCode so I'd recommend trying to ask questions
form them to get more insider knowledge about OSX.
Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org