[Cmake] include directories differ between VS6.0 and NMake ??

Brad King brad.king at kitware.com
Tue Jul 27 14:29:57 EDT 2004


Terry Lorber wrote:

> CMake 2.0 - patch 2
> 
> I've noticed that the INCLUDE_FLAGS value in my NMake Makefiles have the 
>  project's source directory listed with the other -I values.  When I 
> look at the Project Settings within Studio, that directory is not listed 
> in the "Additional include directories:"

That's interesting.  I noticed this problem in previous releases of 
CMake.  The proper behavior is to NOT add the -I path unless it was 
specified with an INCLUDE_DIRECTORIES command.  For some reason the 
Makefile generators have been doing this for a very long time.  However, 
I fixed this and CMake 2.0.2 was the first version of CMake ever 
released that fixes this problem.  Are you sure you have patch 2?

-Brad



More information about the Cmake mailing list