diff options
author | Brad King <brad.king@kitware.com> | 2004-06-15 15:52:58 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2004-06-15 15:52:58 (GMT) |
commit | 4df215a268267b457cc6e5cf2bfc23d1c8de7b11 (patch) | |
tree | 86d7c5bc5d0a8fff58b73a5ae54523eb93d6d073 /Modules | |
parent | 1d061ae896cb9d96898b3161ed9f8cc279fdd6a5 (diff) | |
download | CMake-4df215a268267b457cc6e5cf2bfc23d1c8de7b11.zip CMake-4df215a268267b457cc6e5cf2bfc23d1c8de7b11.tar.gz CMake-4df215a268267b457cc6e5cf2bfc23d1c8de7b11.tar.bz2 |
Removing automatic addition of a -I path for the current source directory.
This is not consistent with the Visual Studio generators which do not
provide this path. It should not be added anyway because it is adding
an include path not requested by the CMakeLists.txt code. The code I'm
removing was originally added in revision 1.17 of cmUnixMakefileGenerator.cxx
as a part of several other changes and has a commit log entry of
"some bug fixes"
It was propagated from their to cmLocalUnixMakefileGenerator.cxx.
Since all our projects build in the VS IDE without this include path, it should not be needed. Users can easily fix problems caused by this by adding
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR})
to their CMakeLists.txt code. This was often necessary previously when a
project was originally written on a Unix system and then built with
Visual Studio.
Diffstat (limited to 'Modules')
0 files changed, 0 insertions, 0 deletions