[cmake-developers] CheckStructHasMember does not support C++ only structs

2013-09-23 Thread Daniele E. Domenichelli
Hello, CheckStructHasMember does not support C++ only structs. If headers required to check if a struct has a member can be compiled with C++ compiler only, the check will fail, because the C compiler will fail. As a consequence, the result variable is set to false, even if the struct has that

Re: [cmake-developers] CheckStructHasMember does not support C++ only structs

2013-09-23 Thread Daniele E. Domenichelli
Sorry disregard my previous mail... My problem was actually different and the attached patch didn't work... Regards, Daniele On 23/09/13 10:27, Daniele E. Domenichelli wrote: Hello, CheckStructHasMember does not support C++ only structs. If headers required to check if a struct has a

Re: [cmake-developers] CheckStructHasMember does not support C++ only structs

2013-09-23 Thread Brad King
On 09/23/2013 04:27 AM, Daniele E. Domenichelli wrote: The attached patch adds 2 new macros: - CHECK_CXX_STRUCT_HAS_MEMBER (similar to CHECK_STRUCT_HAS_MEMBER but uses the C++ compiler) - CHECK_C_STRUCT_HAS_MEMBER (identical to CHECK_STRUCT_HAS_MEMBER, added for symmetry) that can be used

Re: [cmake-developers] AUTOUIC and AUTORCC for Qt

2013-09-23 Thread Alexander Neundorf
On Friday 20 September 2013, Rolf Eike Beer wrote: Am Montag, 16. September 2013, 10:12:41 schrieb Stephen Kelly: Hi there, I've pushed the Qt-auto-generators topic to my clone. https://gitorious.org/cmake/steveires-cmake/commits/Qt-auto-generators It is a proof of concept for