<br><br>
<div class="gmail_quote">2009/1/29 Philip Lowman <span dir="ltr">&lt;<a href="mailto:philip@yhbt.com">philip@yhbt.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div class="Ih2E3d">
<div class="gmail_quote">On Wed, Jan 28, 2009 at 11:49 PM, ankit jain <span dir="ltr">&lt;<a href="mailto:ankitguddu@gmail.com" target="_blank">ankitguddu@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<div>Hi philip,</div>
<div>Thanks for showing interest my query.</div>
<div>&nbsp;</div>
<div>Actually i have a folder name myapp. it has two sub folders sub1 and sub2 only.</div>
<div>these folders have some c files into it. i created the cmakelist file for both the subfolders and with add_library command i created the library for each of the sub folders. in the cmakelist file of myapp folder i add these two sub folders name using add_subdirectory.</div>

<div>&nbsp;</div>
<div>now i have two libraries created for each of the folders. What i want now is to create&nbsp;a library&nbsp;for the&nbsp;myapp folder which represent the&nbsp;entire folder.</div>
<div>&nbsp;</div>
<div>since we dont add the add_library command in the cmakelist of myapp folder i want to know how to create the library for the myapp folder.&nbsp;</div>
<div>&nbsp;</div>
<div>i hope it is clear to u&nbsp;now.</div>
<div>&nbsp;</div></blockquote></div><br></div>So you want<br><br>libA : A/foo.cc<br>libB : B/bar.cc<br><br>and a 3rd library:<br>libC : A/foo.cc B/bar.cc<br><br>?<br>This is what iam trying to do&nbsp;&nbsp;</blockquote>
<div>&nbsp;</div>
<div>&nbsp;&nbsp;&nbsp; ankit jain</div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><span id=""></span><br>Please always reply to list as others on-list can help with your query and those off-list can learn from it via search engines.<br>
<br>-- <br><font color="#888888">Philip Lowman<br></font></blockquote></div><br>