Hi,<br><br>My scenario is that I have many source files in different directories that are all going into the same lib. <br><br>dir1/file1.h<br>dir1/file1.cpp<br>dir1/file1.inl<br><br>dir2/file2.h<br>
dir2/file2.cpp<br>
dir2/file2.inl<br><br>These files are listed in a variable SOURCES.<br><br>what I want to do is add them to a source group using the directory as the base group and then all .h files in group "inc", .cpp files in group "src" and .inl files in group "inl".<br>
<br>So to reiterate:<br>SOURCES=dir1/file1.h;dir1/file1.cpp;dir1/file1.inl;dir2/file2.h;dir2/file2.cpp;dir2/file2.inl<br><br>and I want the source groups to look like this:<br><br>dir1/inc/file1.h<br>dir1/src/file1.cpp<br>
....<br>dir2/inl/file2.inl<br><br>Any help on this would be greatly appreciated.<br><br><br>