trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: November 2011

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

From: Serghei Amelian <serghei@...>
Date: Sun, 27 Nov 2011 11:55:35 +0200
On Sunday 27 November 2011 04:40:44 Darrell Anderson wrote:
> 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"

> Darrell


-- 
Serghei