See the cmake function SOURCE_GROUP (search for other messages regarding this function on this mailing list)...<br><br>C:\>"C:\Program Files\CMake 2.4\bin\cmake.exe" --help-command SOURCE_GROUP<br>cmake version
2.4-patch 7<br> SOURCE_GROUP<br> Define a grouping for sources in the makefile.<br><br> SOURCE_GROUP(name [REGULAR_EXPRESSION regex] [FILES src1 src2 ...])<br><br> Defines a group into which sources will be placed in project files.
<br> This is mainly used to setup file tabs in Visual Studio. Any file<br> whose name is listed or matches the regular expression will be placed<br> in this group. If a file matches multiple groups, the LAST group that
<br> explicitly lists the file will be favored, if any. If no group<br> explicitly lists the file, the LAST group whose regular expression<br> matches the file will be favored.<br><br> The name of the group may contain backslashes to specify subgroups:
<br><br> SOURCE_GROUP(outer\\inner ...)<br><br> For backwards compatibility, this command is also supports the format:<br><br> SOURCE_GROUP(name regex)<br><br><br>HTH,<br>David<br><br><br><div><span class="gmail_quote">
On 7/24/07, <b class="gmail_sendername">Sergei Riaguzov</b> <<a href="mailto:riaguzov@gmail.com">riaguzov@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi!<br><br>How can I emulate "Add folder" MSVS functionality with CMake? I want to be able to add a folder without adding another executable or anything like that.<br>
<br>_______________________________________________<br>CMake mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:CMake@cmake.org">CMake@cmake.org</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">
http://www.cmake.org/mailman/listinfo/cmake</a><br></blockquote></div><br>