Use ADD_SUBDIRECTORY when the subdirectory has a CMakeLists.txt file.

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...)


Does that help?

On 11/20/07, Mike Jackson <[EMAIL PROTECTED]> wrote:
>
> Could someone suggest when to use ADD_SUBDIRECTORY and when to use
> INCLUDE? I think I am just missing something with my projects..
>
>
> --
> Mike Jackson
> imikejackson _at_ gee-mail dot com
> _______________________________________________
> CMake mailing list
> [email protected]
> http://www.cmake.org/mailman/listinfo/cmake
>
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to