cmake portgroup RelWithDebInfo variant?

"René J.V. Bertin" rjvbertin at gmail.com
Mon Jul 28 15:42:02 PDT 2014


Hi Ian,

On Jul 29, 2014, at 00:33, Ian Wadham wrote:

> Might I suggest something that expresses what you are getting
> with the proposed variant name.  You cannot use +debug, because
> it is already taken by MacPorts.  So how about +symbols?

Not bad...
> 
> There are two flavours in CMake, RelWithDebInfo and Debug,
> which give you different levels of debug info, so maybe you could
> have +symbols1 and +symbols2?  Or perhaps there is some more

+debug already uses -DCMAKE_TYPE=Debug, so there's no need for different +symbols variants. Also, the difference between Debug and RelWithDebInfo is a bit more complicated than you appear to think. There's indeed a difference in the amount of available debug info, but that's because the former doesn't use optimisation (which doesn't allow full debug information). It's thus different from the debug level selector in Xcode.

R.



More information about the macports-users mailing list