www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.ldc - Cmake and debug file

reply "bioinfornatics" <bioinfornatics fedoraproject.org> writes:
Dear,

How to tell to cmake to not generate *-debug.so* files ?
Apr 30 2013
parent reply "David Nadlinger" <see klickverbot.at> writes:
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
Apr 30 2013
parent reply "bioinfornatics" <bioinfornatics fedoraproject.org> writes:
Because rpm package extract hitself debug information. As cmake 
setup doues this automaticaly it extract an empty debug 
information
May 01 2013
next sibling parent "bioinfornatics" <bioinfornatics fedoraproject.org> writes:
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 01 2013
prev sibling parent reply "David Nadlinger" <see klickverbot.at> writes:
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
parent "bioinfornatics" <bioinfornatics fedoraproject.org> writes:
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
May 02 2013