trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: August 2016

Re: kdDebug() no output

From: deloptes <deloptes@...>
Date: Fri, 12 Aug 2016 07:55:37 +0200
Michele Calgaro wrote:

> On 2016/08/12 05:42 AM, deloptes wrote:
>> Hi,
>> in the past few days I found some time to revive my work on the libkcal
>> testing, but I noticed that no debug information is printed out by the
>> test programs.
>> I suspect it is because it gets compiled without debugging, but I am not
>> sure, as (if you recall I asked you how to compile the project and you
>> instructed to use the debian/rules file) I don't know where and how to
>> tell the rules file to add/activate debugging.
>> I use something like
>>         DEB_MAKE_CHECK_TARGET=testing fakeroot debian/rules build
>> at the moment.
>> 
>> I'll appreciate some ideas. Thank you in advance
>> 
>> regards
>> 
> 
> Hi Emanoil,
> usually TDE packages in Debian are build using "RelWithDebInfo" as default
> option. You need to change this to "Debug" in the debian/rules file using
> -DCMAKE_BUILD_TYPE=Debug
> 
> See the debian/rules files in tdelibs for an example of where to place it.
> Also see
> http://stackoverflow.com/questions/1239845/build-mode-relwithdebinfo if
> you want some more information.
> 
> Cheers
>   Michele

Great - many thanks Michele!