Use ADD_SUBDIRECTORY when the subdirectory has a CMakeLists.txt file.<br><br>Use INCLUDE to include *.cmake script files (that find files, libraries or programs, for example, or perhaps that contain macros independent of the directory, or that have common SET statements that you need in more than once place...)
<br><br><br>Does that help?<br><br><div><span class="gmail_quote">On 11/20/07, <b class="gmail_sendername">Mike Jackson</b> &lt;<a href="mailto:imikejackson@gmail.com">imikejackson@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Could someone suggest when to use ADD_SUBDIRECTORY and when to use<br>INCLUDE? I think I am just missing something with my projects..<br><br><br>--<br>Mike Jackson<br>imikejackson _at_ gee-mail dot com<br>_______________________________________________
<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">http://www.cmake.org/mailman/listinfo/cmake</a><br></blockquote></div><br>