Hi, in cmLocalGenerator.cxx there's the following code: if(!inSource && this->Makefile->IsOn("CMAKE_INCLUDE_CURRENT_DIR")) { includeSourceDir = true; includeBinaryDir = true; } Why is there the test for !inSource ? This means if I have in one directory: test1.h main.c: #include <test1.h> int main() { ... } This will work for out-of-source builds, but not for in-source builds. I would have expected that the CMAKE_INCLUDE_CURRENT_DIR option also adds CMAKE_CURRENT_SOURCE_DIR to the include path for in-source builds. Are there special reasons why not ? Bye Alex
-- Echte DSL-Flatrate dauerhaft für 0,- Euro*! "Feel free" mit GMX DSL! http://www.gmx.net/de/go/dsl _______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake