Sean Soria wrote:
> CMakeLists.txt:
> ADD_EXECUTABLE(hello main.c foo/main.c)
> ADD_SUBDIRECTORY(foo)
>
> foo/CMakeLists.txt:
> INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR})
>
It is order dependent.
So, the include_directory will not affect the hello target because it
comes after it.
-Bill