hi Jason, <br>Go through the wiki, it has a simple example. Then study the CMakeLists.txt of few projects which use cmake [1]. Good luck!<br><br>-Rajika<br><br>[1] - <a href="http://www.cmake.org/Wiki/CMake_Projects">http://www.cmake.org/Wiki/CMake_Projects</a> <br>
<br><div class="gmail_quote">On Sun, Jul 12, 2009 at 6:34 AM, ML <span dir="ltr"><<a href="mailto:mailinglists@mailnewsrss.com">mailinglists@mailnewsrss.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi All,<br>
<br>
I am starting with Cmake, I have looked a bit at the wiki and a few other sites that I found.<br>
<br>
I have a few items to help get me started:<br>
<br>
1. Is there a doc that describes the 'bare essentials' to a CMake file. What I absolutely need to have in the file.<br>
<br>
2. Can I call my Cmake file anything? Or do I have to call it CMakeLists.txt?<br>
<br>
3. Can CMake check out code from SVN?<br>
<br>
4. Can CMake e-mail build results to a specified e-mail address?<br>
<br>
5. Say I have something like:<br>
SET(SRCS file1.c file2.c file3.c)<br>
Can I write this like:<br>
SET(SRCS /<br>
file1.c /<br>
file2.c /<br>
file3.c<br>
)<br>
<br>
Like one file name per line like I can do in a gnu Make File?<br>
6. In Make I would define all of my headers too, would I do the same as #5 above? How does the my Add_Executable statement?<br>
7. How do I tell Cmake to compile to a static library like a .a or .so or .dll?<br>
<br>
Thanks Everyone, I am continuing to research myself as well.<br>
Best,<br>
-Jason<br>
<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
</blockquote></div><br><br clear="all"><br>-- <br><a href="http://wso2.org">http://wso2.org</a><br><a href="http://llvm.org">http://llvm.org</a><br><a href="http://www.minix3.org/">http://www.minix3.org/</a><br><br><br>