Re: debugfull clang/ccache

2013-07-25 Thread Milian Wolff
On Tuesday 23 July 2013 18:54:47 Alexander Neundorf wrote: On Tuesday 23 July 2013, Milian Wolff wrote: On Monday 22 July 2013 22:28:08 Alexander Neundorf wrote: Hi Millian, On Tuesday 16 July 2013, Milian Wolff wrote: On Tuesday 16 July 2013 11:30:22 Andreas Pakulat wrote:

Re: debugfull clang/ccache

2013-07-25 Thread Milian Wolff
On Monday 22 July 2013 22:28:08 Alexander Neundorf wrote: Hi Millian, On Tuesday 16 July 2013, Milian Wolff wrote: On Tuesday 16 July 2013 11:30:22 Andreas Pakulat wrote: Hi, On Mon, Jul 15, 2013 at 10:52 AM, Milian Wolff m...@milianw.de wrote: Hey guys, the handling

Re: debugfull clang/ccache

2013-07-23 Thread Alexander Neundorf
On Tuesday 23 July 2013, Milian Wolff wrote: On Monday 22 July 2013 22:28:08 Alexander Neundorf wrote: Hi Millian, On Tuesday 16 July 2013, Milian Wolff wrote: On Tuesday 16 July 2013 11:30:22 Andreas Pakulat wrote: Hi, On Mon, Jul 15, 2013 at 10:52 AM, Milian Wolff

Re: debugfull clang/ccache

2013-07-22 Thread Milian Wolff
On Tuesday 16 July 2013 11:30:22 Andreas Pakulat wrote: Hi, On Mon, Jul 15, 2013 at 10:52 AM, Milian Wolff m...@milianw.de wrote: Hey guys, the handling of CMAKE_BUILD_TYPE=debugfull in FindKDE4Internal.cmake is guarded by `if (CMAKE_COMPILER_IS_GNUCXX)` so it won't work if you use

Re: debugfull clang/ccache

2013-07-22 Thread Alexander Neundorf
Hi Millian, On Tuesday 16 July 2013, Milian Wolff wrote: On Tuesday 16 July 2013 11:30:22 Andreas Pakulat wrote: Hi, On Mon, Jul 15, 2013 at 10:52 AM, Milian Wolff m...@milianw.de wrote: Hey guys, the handling of CMAKE_BUILD_TYPE=debugfull in FindKDE4Internal.cmake is guarded

debugfull clang/ccache

2013-07-16 Thread Milian Wolff
Hey guys, the handling of CMAKE_BUILD_TYPE=debugfull in FindKDE4Internal.cmake is guarded by `if (CMAKE_COMPILER_IS_GNUCXX)` so it won't work if you use clang. It gets worse if you use ccache as well, i.e. via export CC=ccache /usr/bin/clang -Qunused-arguments export CXX=ccache /usr/bin/clang++

Re: debugfull clang/ccache

2013-07-16 Thread Andreas Pakulat
Hi, On Mon, Jul 15, 2013 at 10:52 AM, Milian Wolff m...@milianw.de wrote: Hey guys, the handling of CMAKE_BUILD_TYPE=debugfull in FindKDE4Internal.cmake is guarded by `if (CMAKE_COMPILER_IS_GNUCXX)` so it won't work if you use clang. It gets worse if you use ccache as well, i.e. via Hmm,

Re: debugfull clang/ccache

2013-07-16 Thread Andreas Pakulat
Hi, On Tue, Jul 16, 2013 at 11:30 AM, Andreas Pakulat ap...@gmx.de wrote: Hi, On Mon, Jul 15, 2013 at 10:52 AM, Milian Wolff m...@milianw.de wrote: Hey guys, the handling of CMAKE_BUILD_TYPE=debugfull in FindKDE4Internal.cmake is guarded by `if (CMAKE_COMPILER_IS_GNUCXX)` so it won't

Re: debugfull clang/ccache

2013-07-16 Thread Stephen Kelly
Andreas Pakulat wrote: I'd say an OR CMAKE_CXX_COMPILER_ID MATCHES 'clang' should be sufficient, Actually it would be: CMAKE_CXX_COMPILER_ID MATCHES Clang the CMAKE_CXX_COMPILER_ID is not necessarily the same case as the executable. Thanks, Steve.

Re: debugfull clang/ccache

2013-07-16 Thread Andreas Pakulat
Hi, On Tue, Jul 16, 2013 at 11:58 AM, Stephen Kelly steve...@gmail.com wrote: Andreas Pakulat wrote: I'd say an OR CMAKE_CXX_COMPILER_ID MATCHES 'clang' should be sufficient, Actually it would be: CMAKE_CXX_COMPILER_ID MATCHES Clang the CMAKE_CXX_COMPILER_ID is not necessarily the

Re: debugfull clang/ccache

2013-07-16 Thread Stephen Kelly
Andreas Pakulat wrote: Actually it would be: CMAKE_CXX_COMPILER_ID MATCHES Clang the CMAKE_CXX_COMPILER_ID is not necessarily the same case as the executable. Ah, well, the cmake manual mentions it with lower c only and since I don't have a clang at hand to test. Where?

Re: debugfull clang/ccache

2013-07-16 Thread Andreas Pakulat
Hi, On Tue, Jul 16, 2013 at 12:37 PM, Stephen Kelly steve...@gmail.com wrote: Andreas Pakulat wrote: Actually it would be: CMAKE_CXX_COMPILER_ID MATCHES Clang the CMAKE_CXX_COMPILER_ID is not necessarily the same case as the executable. Ah, well, the cmake manual mentions

Re: debugfull clang/ccache

2013-07-16 Thread Andreas Pakulat
Hi, On Tue, Jul 16, 2013 at 12:26 PM, Milian Wolff m...@milianw.de wrote: On Tuesday 16 July 2013 11:30:22 Andreas Pakulat wrote: Hi, On Mon, Jul 15, 2013 at 10:52 AM, Milian Wolff m...@milianw.de wrote: Hey guys, the handling of CMAKE_BUILD_TYPE=debugfull in