Hi!<br><br>I have several directories in my src dir, like:<br><br>src /<br>&nbsp; dir_a<br>&nbsp; dir_b<br><br>I have sources in all of them: src, dir_a, dir_b.<br><br>In CMakeLists in src I have eg.:<br><br>set(sources<br>&nbsp; foo.cpp
<br>&nbsp; dir_a/bar.cpp<br>&nbsp; dir_b/ding.cpp<br>)<br><br>The .obj files are built CMakeFiles/project.dir/<br>and the tree is recreated, ie:<br><br>foo.obj<br>dir_a/bar.obj<br>dir_b/ding.obj<br><br>Is there a way to compile all the files into CMakeFiles/project.dir/
<br>and omit building tree structure. I have linking errors due to such<br>.obj files placement.<br><br>Or is there a simple way to link to these files directly?<br><br>I am using Windows XP, VS8 and NMake Makefiles generator.
<br><br>Thank you,<br>-Marcin Gil<br>