Re: [CMake] Header files excluded from build in Visual Studio

2009-03-26 Thread Claus Höfele
I've just tried out 2.6.4 RC 1, which fixes this problem. Thanks! On Mon, Mar 16, 2009 at 12:51 PM, Claus Höfele cl...@claushoefele.com wrote: What is the default if you have VS create the project? When adding a new header file 'asd.h', this is what Visual Studio writes into the project file:

Re: [CMake] Header files excluded from build in Visual Studio

2009-03-15 Thread Claus Höfele
What is the default if you have VS create the project? When adding a new header file 'asd.h', this is what Visual Studio writes into the project file: Filter ... File RelativePath=.\asd.h /File ... /Filter Properties as displayed by the properties page are Excluded from

Re: [CMake] Header files excluded from build in Visual Studio

2009-03-13 Thread Bill Hoffman
Claus Höfele wrote: Thanks for the quick replies. I'm using cmake 2.6.3 + Visual Studio 8 2005 SP1 Playing around further with the file properties in Visual Studio, it looks like VS only checks the syntax of a file if the Tool property is set to C/C++ Compiler Tool. However, this setting will

[CMake] Header files excluded from build in Visual Studio

2009-03-12 Thread Claus Höfele
Hi everyone, I've recently switched to cmake to generate Visual Studio project files for a project of mine and it's working great so far. One issue that bugs me is that header files end up being disabled in Visual Studio (Excluded From Build property is set for the header files). This prevents

Re: [CMake] Header files excluded from build in Visual Studio

2009-03-12 Thread Philip Lowman
On Thu, Mar 12, 2009 at 10:34 PM, Claus Höfele cl...@claushoefele.comwrote: Hi everyone, I've recently switched to cmake to generate Visual Studio project files for a project of mine and it's working great so far. One issue that bugs me is that header files end up being disabled in Visual

Re: [CMake] Header files excluded from build in Visual Studio

2009-03-12 Thread Bill Hoffman
Claus Höfele wrote: Hi everyone, I've recently switched to cmake to generate Visual Studio project files for a project of mine and it's working great so far. One issue that bugs me is that header files end up being disabled in Visual Studio (Excluded From Build property is set for the header

Re: [CMake] Header files excluded from build in Visual Studio

2009-03-12 Thread Claus Höfele
Thanks for the quick replies. I'm using cmake 2.6.3 + Visual Studio 8 2005 SP1 Playing around further with the file properties in Visual Studio, it looks like VS only checks the syntax of a file if the Tool property is set to C/C++ Compiler Tool. However, this setting will cause the header file