Re: [CMake] Help: How to show Qt src file in out-source folder build mode for Eclipse CDT project

2010-05-09 Thread Mike Jackson
If you look on the wiki there is another method that does support out of source builds. You have to generate makefiles first then manually create the eclipse projects. - Mike Jackson www.bluequartz.net Principal Software Engineer mike.jack...@bluequartz.net BlueQuart

Re: [CMake] Help: How to show Qt src file in out-source folder build mode for Eclipse CDT project

2010-05-09 Thread Yang, Y.
Hi, Droscy Thanks. I use your suggested method. Maybe future Eclipse can support out source build. Best regards Yang From: Droscy [drosc...@yahoo.it] Sent: Sunday, May 09, 2010 5:26 PM To: Yang, Y. Cc: cmake@cmake.org Subject: Re: [CMake] Help: How to sho

Re: [CMake] Bug in CMake documentation?

2010-05-09 Thread Michael Hertling
On 05/09/2010 12:01 PM, Esben Mose Hansen wrote: > On Sunday 09 May 2010 11:12:54 Esben Mose Hansen wrote: >> I quote from the documentation (2.8) >> >>> if() >>> >>> >>> True if the constant is 1, ON, YES, TRUE, Y, or a non-zero number. False >>> if the constant is 0, OFF, NO, FALSE, N, IGNORE,

Re: [CMake] Bug in CMake documentation?

2010-05-09 Thread Esben Mose Hansen
On Sunday 09 May 2010 18:01:32 you wrote: > Yes. > The argument to if() is the name of a variable. > So in > IF ("/var/lib") > cmake checks whether the variable named "/var/lib" has a TRUE value. This > variable most probably does not exist, so it returns false. > In > IF (MYVAR) > cmake checks

Re: [CMake] Bug in CMake documentation?

2010-05-09 Thread Alexander Neundorf
On Sunday 09 May 2010, Esben Mose Hansen wrote: > On Sunday 09 May 2010 13:49:13 Alexander Neundorf wrote: > > I can't confirm that. > > I get the following with the attached CMakeLists.txt with cmake 2.8.1: > > Interesting. Actually, CMake behaves very oddly in this case. 2.8.0 prints > "B is true

Re: [CMake] Help: How to show Qt src file in out-source folder build mode for Eclipse CDT project

2010-05-09 Thread Droscy
Hi Yang. I'm not sure this solution is what you are looking for, but you can try. Consider you have the source files in /project/src and the out-of-source build in /project/build. Do the following: - go to the /project/build folder - execute cmake -G"Eclipse CDT4 - Unix Makefiles" ../src -

Re: [CMake] Bug in CMake documentation?

2010-05-09 Thread Alexander Neundorf
On Sunday 09 May 2010, Esben Mose Hansen wrote: > On Sunday 09 May 2010 11:12:54 Esben Mose Hansen wrote: > > I quote from the documentation (2.8) > > > > > if() > > > > > > > > > True if the constant is 1, ON, YES, TRUE, Y, or a non-zero number. > > > False if the constant is 0, OFF, NO, FALSE,

Re: [CMake] Bug in CMake documentation?

2010-05-09 Thread Esben Mose Hansen
On Sunday 09 May 2010 11:12:54 Esben Mose Hansen wrote: > I quote from the documentation (2.8) > > > if() > > > > > > True if the constant is 1, ON, YES, TRUE, Y, or a non-zero number. False > > if the constant is 0, OFF, NO, FALSE, N, IGNORE, "", or ends in the > > suffix '-NOTFOUND'. Named bo

Re: [CMake] Bug in CMake documentation?

2010-05-09 Thread Hendrik Sattler
Am Sonntag 09 Mai 2010, 11:12:54 schrieb Esben Mose Hansen: > Hi, > > I quote from the documentation (2.8) > > > if() > > > > True if the constant is 1, ON, YES, TRUE, Y, or a non-zero number. False > > if the constant is 0, OFF, NO, FALSE, N, IGNORE, "", or ends in the > > suffix '-NOTFOUND'.

[CMake] Bug in CMake documentation?

2010-05-09 Thread Esben Mose Hansen
Hi, I quote from the documentation (2.8) > if() > > True if the constant is 1, ON, YES, TRUE, Y, or a non-zero number. False if > the constant is 0, OFF, NO, FALSE, N, IGNORE, "", or ends in the suffix > '-NOTFOUND'. Named boolean constants are case-insensitive. So what is the value of say "/