[Kst] Re: cmake
Matthew Truch
matt at truch.net
Tue Feb 22 23:44:43 CET 2011
On Feb 22, 2011, at 16:47, Peter Kümmel <syntheticpp at gmx.net> wrote:
>>
>> Sorry, I misunderstood your question. Ummm "cmake disable strip
>> enable
>> optimization". I came up with this page:
>> http://www.cmake.org/cmake/help/cmake-2-8-docs.html#variable:CMAKE_BUILD_TYPE
>> which makes me think that setting it to "RelWithDebInfo" might be
>> correct? I appologize for knowing nothing about cmake.
>>
>
> RelWithDebInfo is only -O3 -g.
>
> But as I understand you, your idea is to have a optimized
> binary without debug symbols and a debuginfo file with
> the symbols which could be installed separately in common
> with the sources.
> And this constellation I've never done with cmake.
>
> Peter
> _______________________________________________
> Kst mailing list
> Kst at kde.org
> https://mail.kde.org/mailman/listinfo/kst
>
Ah, I see the confusion. We don't need to do the special stripping,
the buildsystem does that for us. We just need to make sure all the
"release" optimizations are in and that -g is passed to gcc as well.
Sorry for the confusion.
--
Matthew Truch
matt at truch.net
More information about the Kst
mailing list