<div class="gmail_quote">Hi, I searched for an answer to this question in vain, so I'm asking here.<br><br>I am trying to build a library wich is spead among many subdirectories using CMake, but I can't seem to do it "the Right Way". <br>
<br>Looks like the right way to do this would be to write a CMakeLists.txt in each subdirectory, as this would be cleaner, and much more changes-friendly, but I can't seem to build only one library when I do it this way.<br>
<br>example of my source tree : <br><br>+ src<br>| - Application<br>| - Attributes<br>| - Audio<br>.<br>.<br>.<br>| - Utils<br><br>Each directory containing multiple source files for the lib. <br>I managed to build the library, putting each and every file in a single variable in one file, but this is looking quite ugly...<br>
<br>So how should i do please ?<br><br>Thanks in advance<br><br>P.S. : excuse the poor English, as i'ts not my mother tongue :)<br><font color="#888888"><br></font></div>-- <br> - Always keep in mind that you may be wrong -