<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Ok,<div>I found the solution myself; I have to add:</div><div><span class="Apple-style-span" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 13px; "><a name="bugnotes" id="bugnotes"><div id="bugnotes_open" style="padding-top: 3px; padding-right: 3px; padding-bottom: 3px; padding-left: 3px; "><table class="width100" cellspacing="1" style="width: 1396px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(0, 0, 0); border-right-color: rgb(0, 0, 0); border-bottom-color: rgb(0, 0, 0); border-left-color: rgb(0, 0, 0); position: static; z-index: auto; "><tbody><tr class="bugnote" id="c11218" style="vertical-align: top; "><td class="bugnote-note-public" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt; padding-top: 4px; padding-right: 4px; padding-bottom: 4px; padding-left: 4px; text-align: left; background-color: rgb(232, 232, 232); color: rgb(0, 0, 0); width: 1036px; ">set_source_files_properties(interface1.idl PROPERTIES HEADER_FILE_ONLY TRUE)</td></tr></tbody></table></div></a></span><div><div><br></div><div>But I do not understand why this is needed with VS2005?</div><div>By the way, the REGULAR_EXPRESSION does not work?</div><div><br></div><div>I have to use the FILES parameter to group the idl files!</div><div>That is really strange.</div><div><br></div><div>Claus</div><div><br></div><div>On 19.08.2010, at 22:59, Claus Klein wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Hi,<br><br>I have a project with CORBA idl files, which will be compiled with a tao idl compiler to source and header files via a:<br><br><span class="Apple-tab-span" style="white-space:pre">        </span>add_custom_command(OUTPUT output1 [output2 ...] ...)<br><br>I defined a source group with:<br><br><span class="Apple-tab-span" style="white-space:pre">        </span>source_group(idlfiles REGULAR_EXPRESSION *.idl)<br><br>The generated source are added with ohter source to build libs and executables for different subsystems:<br><br><span class="Apple-tab-span" style="white-space:pre">        </span> add_library(interfacelib1 interface1.idl interface1C.cpp .... ).<br><br>I add the idl files too. The idlfiles group was filled with my idl files. OK, that was my intention.<br>That works with header files, but not with idl files:<br><br>When I compile the project, there are build error because the VS2005 does not know who to compile the .idl files?<br><br>All works fine without the idl file in the source list of the libs. But can't see the idl file in the VS project.<br><br>Is there an other way to get the idl files to a source group under there library projects?<br><br><br>//regards<br>Claus<br>_______________________________________________<br>Powered by <a href="http://www.kitware.com">www.kitware.com</a><br><br>Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br><br>Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ">http://www.cmake.org/Wiki/CMake_FAQ</a><br><br>Follow this link to subscribe/unsubscribe:<br><a href="http://www.cmake.org/mailman/listinfo/cmake">http://www.cmake.org/mailman/listinfo/cmake</a><br></div></blockquote></div><br></div></body></html>