Sorry for the late reply. I haven&#39;t been working on this for a while.<div><br></div><div>Thanks for the replies. :)</div><div>I&#39;m working on it using file( GLOB .. ) right now.&nbsp;</div><div><br><br><div class="gmail_quote">
2008/11/11 Alexander Neundorf <span dir="ltr">&lt;<a href="mailto:a.neundorf-work@gmx.net">a.neundorf-work@gmx.net</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="Ih2E3d">On Monday 10 November 2008, Eric NOULARD wrote:<br>
&gt; Le Mon, 10 Nov 2008 16:22:48 +0900,<br>
</div>...<br>
<div class="Ih2E3d">&gt; You may try to create your static lib from the top-level CMakeLists.txt<br>
&gt;<br>
&gt; FILE(GLOB_RECURSE SOURCE_FILE_LIST &quot;*.cpp&quot;)<br>
&gt; FILE(GLOB_RECURSE HEADER_FILE_LIST &quot;*.h&quot;)<br>
&gt; ADD_LIBRARY(whatever STATIC ${SOURCE_FILE_LIST} ${HEADER_FILE_LIST})<br>
&gt;<br>
&gt; &gt; cmake -P cmake_clean_target.cmake<br>
&gt; &gt;<br>
&gt; &gt; If someway I could be able to block that script from executing I will<br>
&gt; &gt; have a static library with all the sources merged into one file.<br>
&gt;<br>
&gt; I won&#39;t do that, that way.<br>
<br>
</div>I agree with Eric, don&#39;t try to do that.<br>
<br>
Alex<br>
<div><div></div><div class="Wj3C7c">_______________________________________________<br>
CMake mailing list<br>
<a href="mailto:CMake@cmake.org">CMake@cmake.org</a><br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
</div></div></blockquote></div><br></div>