[CMake] Qt-Sources and non Qt-Source

2008-08-12 Thread Jan Dinger
Hello folks, I've a CMakeLists.txt, this file works fine. Now I've added a small wrapper, this wrapper is no Qt-Code (no Q_OBJECT flag). How can I merge this in my CMakeLists.txt? make crashes with the this error: ### snip ### make[2]: *** No rule to make target

Re: [CMake] Qt-Sources and non Qt-Source

2008-08-12 Thread John Drescher
On Tue, Aug 12, 2008 at 11:24 AM, Jan Dinger [EMAIL PROTECTED] wrote: Hello folks, I've a CMakeLists.txt, this file works fine. Now I've added a small wrapper, this wrapper is no Qt-Code (no Q_OBJECT flag). How can I merge this in my CMakeLists.txt? make crashes with the this error: ###

Re: [CMake] Qt-Sources and non Qt-Source

2008-08-12 Thread Jan Dinger
Your path is wrong for the header file. It should be ./src not .src John Sorry my fault. Ok now it works fine, but I got a waring: ### snip ### /home/jan/workspace/cpp/autoluncher/src/xmlhandler/xmlhandler.h:0: Warning: No relevant classes found. No output generated. ### snap ### Can I

Re: [CMake] Qt-Sources and non Qt-Source

2008-08-12 Thread John Drescher
On Tue, Aug 12, 2008 at 11:40 AM, Jan Dinger [EMAIL PROTECTED] wrote: Your path is wrong for the header file. It should be ./src not .src John Sorry my fault. Ok now it works fine, but I got a waring: ### snip ### /home/jan/workspace/cpp/autoluncher/src/xmlhandler/xmlhandler.h:0: Warning:

Re: [CMake] Qt-Sources and non Qt-Source

2008-08-12 Thread Jan Dinger
Thats right. So, I ignore this. Can I disable this warning in my release version? This warning looks not so good. so long jd ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] Qt-Sources and non Qt-Source

2008-08-12 Thread John Drescher
On Tue, Aug 12, 2008 at 11:48 AM, Jan Dinger [EMAIL PROTECTED] wrote: Thats right. So, I ignore this. Can I disable this warning in my release version? This warning looks not so good. Yes. The warning is that you are unnecessarily running moc on that file. If you are not going to derive any

Re: [CMake] Qt-Sources and non Qt-Source

2008-08-12 Thread Hendrik Sattler
Am Dienstag, 12. August 2008 17:49:46 schrieb Jan Dinger: Thats right. So, I ignore this. Can I disable this warning in my release version? This warning looks not so good. Then don't run it through the moc... HS ___ CMake mailing list

Re: [CMake] Qt-Sources and non Qt-Source

2008-08-12 Thread Jan Dinger
Special thanks for the fast answer. so long jd ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake