<div dir="ltr">You can write the root cmake file in the samples directory then adding project specific cmake file in the src directory. <div><br></div><div>You can also start by writing a single cmake file in the src directory alone. Then move it to the samples directory, if the project complexity increases</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 16, 2014 at 10:45 AM, Deepak Garg <span dir="ltr"><<a href="mailto:deepak.garg@ingv.it" target="_blank">deepak.garg@ingv.it</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div><div><div><div><div><div>I am a new bee in Cmake. I want to make a project with Cmake. The Project lay out is given below. <br><br></div>deepak/<br></div>           gales/<br></div>                    directory_1_of_header_files/<br></div>                    directory_2_of_header_files/</div>                    directory_3_of_header_files/</div>        samples/<br></div>                     src/<br></div>                           main.cpp<br></div>                            top_header_files<br><br></div><br>How should I start to construct CMakeLists.txt files? Any suggestion will be a great help. Thank you in advance<span class="HOEnZb"><font color="#888888"><br><br></font></span></div><span class="HOEnZb"><font color="#888888">Deepak<br></font></span></div>
<br>--<br>
<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</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>
Kitware offers various services to support the CMake community. For more information on each offering, please visit:<br>
<br>
CMake Support: <a href="http://cmake.org/cmake/help/support.html" target="_blank">http://cmake.org/cmake/help/support.html</a><br>
CMake Consulting: <a href="http://cmake.org/cmake/help/consulting.html" target="_blank">http://cmake.org/cmake/help/consulting.html</a><br>
CMake Training Courses: <a href="http://cmake.org/cmake/help/training.html" target="_blank">http://cmake.org/cmake/help/training.html</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>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/cmake" target="_blank">http://public.kitware.com/mailman/listinfo/cmake</a><br></blockquote></div></div>