trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: November 2011

Re: [trinity-devel] Cmake build with debug support

From: Darrell Anderson <humanreadable@...>
Date: Sun, 27 Nov 2011 09:48:03 -0800 (PST)
> > With autotools I use --enable-debug=full.
> >
> > How is this done with cmake ?
> >
> > I built with -DCMAKE_BUILD_TYPE=Debug but there is no
> difference in the
> > final package sizes.
> >
> > Is there anything in the build log that lets me know
> how I built a package?
> 
> Try -DCMAKE_CXX_FLAGS="-g"

I added that flag. Yet the package sizes are the same.

1. How do I know whether or not a package is built with debug support?

2. Does the build log provide a clue?

3. Should the package size be larger?

4. Is there a simple test after installing the package to test for debugging support?

Please be verbose. :)

Darrell