Sorry for the late reply. I haven't been working on this for a while.<div><br></div><div>Thanks for the replies. :)</div><div>I'm working on it using file( GLOB .. ) right now. </div><div><br><br><div class="gmail_quote">
2008/11/11 Alexander Neundorf <span dir="ltr"><<a href="mailto:a.neundorf-work@gmx.net">a.neundorf-work@gmx.net</a>></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>
> Le Mon, 10 Nov 2008 16:22:48 +0900,<br>
</div>...<br>
<div class="Ih2E3d">> You may try to create your static lib from the top-level CMakeLists.txt<br>
><br>
> FILE(GLOB_RECURSE SOURCE_FILE_LIST "*.cpp")<br>
> FILE(GLOB_RECURSE HEADER_FILE_LIST "*.h")<br>
> ADD_LIBRARY(whatever STATIC ${SOURCE_FILE_LIST} ${HEADER_FILE_LIST})<br>
><br>
> > cmake -P cmake_clean_target.cmake<br>
> ><br>
> > If someway I could be able to block that script from executing I will<br>
> > have a static library with all the sources merged into one file.<br>
><br>
> I won't do that, that way.<br>
<br>
</div>I agree with Eric, don'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>