Re: [osg-users] Cmake question - is it possible to explicitly pull in symbols in a static lib?

2008-12-10 Thread Simon Hammett
> Is this idea possible with compilers? Is it possible with CMake? > VS has a force include symbol option, which looks like it will make the linker pull in a library: > The /INCLUDE option tells the linker to add a specified symbol to the symbol > table. > The linker resolves symbol by adding t

[osg-users] Cmake question - is it possible to explicitly pull in symbols in a static lib?

2008-12-10 Thread Robert Osfield
Hi CMake/build experts, I am currently looking at the static build of the OSG, and in particular the problems with static libraries only including .o's that have symbols that are explictly referenced in the main, or one of the objects referenced by main. The problem with this is that the OSG uses

Re: [osg-users] Cmake question

2008-07-31 Thread J.P. Delport
Hi, you can also pass a param to cmake. This is what "configure" in the osg dir does. OpenSceneGraph$ cat ./configure cmake . -DCMAKE_BUILD_TYPE=Release rgds jp Alberto Luaces wrote: Hi Brad, on the ccmake setup, press 't' for advanced mode and then search for CMAKE_BUILD_TYPE. The info

Re: [osg-users] Cmake question

2008-07-31 Thread Alberto Luaces
Hi Brad, on the ccmake setup, press 't' for advanced mode and then search for CMAKE_BUILD_TYPE. The info says that you can select these modes: Debug Release RelWithDebInfo MinSizeRel. Alberto El Jueves 31 Julio 2008ES 08:29:31 Christiansen, Brad escribió: > Hi, > > Sorry to ask a question that

[osg-users] Cmake question

2008-07-30 Thread Christiansen, Brad
Hi, Sorry to ask a question that I am sure is covered somewhere, but I just cant find mention of it. How do you select between doing a release and debug build using cmake on linux? I cant find any make targets or cmake options in the setup. It is not mentioned on the wiki and I cant find anything