Re: [CMake] How to add CORBA idl files to Visual Studio source group

2010-08-22 Thread Michael Hertling
On 08/22/2010 05:21 PM, Claus Klein wrote: > Ok, > I found the solution myself; I have to add: > set_source_files_properties(interface1.idl PROPERTIES HEADER_FILE_ONLY > TRUE) > > But I do not understand why this is needed with VS2005? See

Re: [CMake] How to add CORBA idl files to Visual Studio source group

2010-08-22 Thread Claus Klein
Ok, I found the solution myself; I have to add: set_source_files_properties(interface1.idl PROPERTIES HEADER_FILE_ONLY TRUE) But I do not understand why this is needed with VS2005? By the way, the REGULAR_EXPRESSION does not work? I have to use the FILES parameter to group the idl files! That

[CMake] How to add CORBA idl files to Visual Studio source group

2010-08-19 Thread Claus Klein
Hi, I have a project with CORBA idl files, which will be compiled with a tao idl compiler to source and header files via a: add_custom_command(OUTPUT output1 [output2 ...] ...) I defined a source group with: source_group(idlfiles REGULAR_EXPRESSION *.idl) The generated sour