Thread overview
Cmake and debug file
Apr 30, 2013
bioinfornatics
May 01, 2013
David Nadlinger
May 01, 2013
bioinfornatics
May 01, 2013
bioinfornatics
May 02, 2013
David Nadlinger
May 02, 2013
bioinfornatics
April 30, 2013
Dear,

How to tell to cmake to not generate *-debug.so* files ?
May 01, 2013
On Tuesday, 30 April 2013 at 22:28:12 UTC, bioinfornatics wrote:
> Dear,
>
> How to tell to cmake to not generate *-debug.so* files ?

Why would you want to do this?

I don't think it's currently supported by our CMake setup, but it should be trivial to add (look at runtime/CMakeLists.txt).

David
May 01, 2013
Because rpm package extract hitself debug information. As cmake setup doues this automaticaly it extract an empty debug information
May 01, 2013
On Wednesday, 1 May 2013 at 10:52:33 UTC, bioinfornatics wrote:
> Because rpm package extract hitself debug information. As cmake setup doues this automaticaly it extract an empty debug information

or install these files into $DESTDIR/$PREFIX/lib when invocking make install
==> /usr/lib/debug

May 02, 2013
On Wednesday, 1 May 2013 at 10:52:33 UTC, bioinfornatics wrote:
> Because rpm package extract hitself debug information. As cmake setup doues this automaticaly it extract an empty debug information

This is (mostly) not about debug information. It's about having a *debug build* of druntime/Phobos, with assertions, ... enabled.

David
May 02, 2013
On Thursday, 2 May 2013 at 18:18:54 UTC, David Nadlinger wrote:
> On Wednesday, 1 May 2013 at 10:52:33 UTC, bioinfornatics wrote:
>> Because rpm package extract hitself debug information. As cmake setup doues this automaticaly it extract an empty debug information
>
> This is (mostly) not about debug information. It's about having a *debug build* of druntime/Phobos, with assertions, ... enabled.
>
> David

oh ok.

rpm debug info extract debug information to put into a debug .so file  ( if you use -g of course ^^ )

so your debug file is the lib with assertion enable  that is ok for me then.

Nothing to do so i understand better now.

Thanks a lot your information is always much appreciated