Kishore, Jonnalagadda (IE10) wrote:
If I understand you correctly, you mean to say that in the top level CMakeLists.txt, if I SET(CMAKE_INCLUDE_CURRENT_DIR ON) and INCLUDE_DIRECTORY(.) then all other subdirectories I add will all automatically include the other directories? This however, is not the behavior I am observing. Setting CMAKE_INCLUDE_CURRENT_DIR does not seem to have any effect.
It is supposed to include CMAKE_CURRENT_SOURCE_DIR and CMAKE_CURRENT_BINARY_DIR in the *current* directory only. The current source and binary directories are different for every subdirectory. It doesn't pass any values between subdirectories.
Still a bug? Cheers, Brandon Van Every _______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake