[osg-users] Howto generate debug sources linux cmake?
Mathieu Marache
mathieu.marache at gmail.com
Thu Nov 12 02:10:42 PST 2009
Use "cmake -DCMAKE_BUILD_TYPE=Debug ."
but i would do out-of-sources builds if I were you, such as :
cd OpenSceneGraph
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Debug ..
make -j (integer part of 'number of CPUS' times '1.5' )
make install
HTH
Mathieu
> Hi,
>
> how can I compile the sources in linux with debug enabled. I used
> "cmake d ." in the osg dir, the files got "fat" but I still can't
> get any debug info. Could anyone help me on this?
>
> Thank you!
More information about the osg-users
mailing list