Re: [CMake] Concern with 2.6.3

2009-03-09 Thread Pau Garcia i Quiles
On Mon, Mar 9, 2009 at 5:31 PM, Bill Hoffman wrote: >> By the way, is there any way to set an internal global variable in a >> VC++ project? Currently, CMake-generated Qt projects may show a wrong >> version in the property browser if the default (in the registry) Qt >> version is not the same as

Re: [CMake] Concern with 2.6.3

2009-03-09 Thread Bill Hoffman
Pau Garcia i Quiles wrote: What does not work is what I am doing: I'm listing the .h files as source files so that they show in the VC++ project. Now, given that header files are marked as "excluded from build", VC++ disables right-click-and-compile for those header files. The .h file is not com

Re: [CMake] Concern with 2.6.3

2009-03-09 Thread Pau Garcia i Quiles
>> What does not work is what I am doing: I'm listing the .h files as >> source files so that they show in the VC++ project. Now, given that >> header files are marked as "excluded from build", VC++ disables >> right-click-and-compile for those header files. > > The .h file is not compiled, so that

Re: [CMake] Concern with 2.6.3

2009-03-09 Thread Bill Hoffman
Pau Garcia i Quiles wrote: On Mon, Mar 9, 2009 at 4:24 PM, Bill Hoffman wrote: Pau Garcia i Quiles wrote: Yes, I'm using QT4_WRAP_CPP (with plans to move to automoc), but that "right-click, compile to run moc" is useful (no need to close the solution or reload projects) and it's what VC++ de

Re: [CMake] Concern with 2.6.3

2009-03-09 Thread Pau Garcia i Quiles
On Mon, Mar 9, 2009 at 4:24 PM, Bill Hoffman wrote: > Pau Garcia i Quiles wrote: > >> Yes, I'm using QT4_WRAP_CPP (with plans to move to automoc), but that >> "right-click, compile to run moc" is useful  (no need to close the >> solution or reload projects) and it's what VC++ developers are used >

Re: [CMake] Concern with 2.6.3

2009-03-09 Thread Bill Hoffman
Pau Garcia i Quiles wrote: Yes, I'm using QT4_WRAP_CPP (with plans to move to automoc), but that "right-click, compile to run moc" is useful (no need to close the solution or reload projects) and it's what VC++ developers are used to. With CMake, you can still right click and compile, it will

Re: [CMake] Concern with 2.6.3

2009-03-09 Thread Pau Garcia i Quiles
On Mon, Mar 9, 2009 at 2:58 PM, Michael Jackson wrote: > On Mar 9, 2009, at 8:57 AM, Pau Garcia i Quiles wrote: > >> On Wed, Mar 4, 2009 at 3:01 PM, Bill Hoffman >> wrote: >>> >>> Robert Dailey wrote: Hi, I noticed after switching to version 2.6.3 that header files (with HPP >

Re: [CMake] Concern with 2.6.3

2009-03-09 Thread Michael Jackson
On Mar 9, 2009, at 8:57 AM, Pau Garcia i Quiles wrote: On Wed, Mar 4, 2009 at 3:01 PM, Bill Hoffman wrote: Robert Dailey wrote: Hi, I noticed after switching to version 2.6.3 that header files (with HPP extension) are marked as "Exclude from build" in Visual Studio 2008. Is this behav

Re: [CMake] Concern with 2.6.3

2009-03-09 Thread Pau Garcia i Quiles
On Wed, Mar 4, 2009 at 3:01 PM, Bill Hoffman wrote: > Robert Dailey wrote: >> >> Hi, >> >> I noticed after switching to version 2.6.3 that header files (with HPP >> extension) are marked as "Exclude from build" in Visual Studio 2008. Is this >> behavior by design? If so, why? >> > You don't want t

Re: [CMake] Concern with 2.6.3

2009-03-04 Thread Bill Hoffman
Robert Dailey wrote: Not at all Bill, I was just curious as to why the change was made to begin with. It worked fine in 2.6.2 without the files being marked as "do not build". I reviewed the changelog for 2.6.3 and I saw no mention of it. It was a side effect of this change: - Fix HEADER_F

Re: [CMake] Concern with 2.6.3

2009-03-04 Thread Robert Dailey
Not at all Bill, I was just curious as to why the change was made to begin with. It worked fine in 2.6.2 without the files being marked as "do not build". I reviewed the changelog for 2.6.3 and I saw no mention of it. On Wed, Mar 4, 2009 at 10:52 AM, Bill Hoffman wrote: > Robert Dailey wrote: > >

Re: [CMake] Concern with 2.6.3

2009-03-04 Thread Bill Hoffman
Robert Dailey wrote: But by default visual studio does not compile HPP or H files. I've *never* had this problem in any version of visual studio starting from version 6. So, what is the problem? CMake marks all files that should not be compiled as do not compile. Is this causing trouble?

Re: [CMake] Concern with 2.6.3

2009-03-04 Thread Robert Dailey
But by default visual studio does not compile HPP or H files. I've *never* had this problem in any version of visual studio starting from version 6. On Wed, Mar 4, 2009 at 8:01 AM, Bill Hoffman wrote: > Robert Dailey wrote: > >> Hi, >> >> I noticed after switching to version 2.6.3 that header fil

Re: [CMake] Concern with 2.6.3

2009-03-04 Thread Bill Hoffman
Robert Dailey wrote: Hi, I noticed after switching to version 2.6.3 that header files (with HPP extension) are marked as "Exclude from build" in Visual Studio 2008. Is this behavior by design? If so, why? You don't want to compile .hpp files do you? -Bill __

[CMake] Concern with 2.6.3

2009-03-03 Thread Robert Dailey
Hi, I noticed after switching to version 2.6.3 that header files (with HPP extension) are marked as "Exclude from build" in Visual Studio 2008. Is this behavior by design? If so, why? ___ Powered by www.kitware.com Visit other Kitware open-source projec