[CMake] INCLUDE_DIRECTORIES(BEFORE dir1 dir1...)

Lorensen, William E (Research) lorensen at crd.ge.com
Fri Nov 19 11:30:34 EST 2004


Actually, I think I foune the problem. It seems that if the include
directory already exists in INCLUDE_DIRECTORIES, cmake will not add it. This
seems to be a bug?

Bill

-----Original Message-----
From: Brad King [mailto:brad.king at kitware.com]
Sent: Friday, November 19, 2004 11:07 AM
To: Lorensen, William E (Research)
Cc: 'cmake at www.cmake.org'
Subject: Re: [CMake] INCLUDE_DIRECTORIES(BEFORE dir1 dir1...)


Lorensen, William E (Research) wrote:
> Does the BEFORE keyword work in the INCLUDE_DIRECTORIES command work? Does
> it require a version of cmake > 1.8?
> 
> I cannot seem to get it to work on Windows or linux.

In version 1.8 that will probably just add -IBEFORE at the end.  I think 
it needs 2.0.

-Brad


More information about the CMake mailing list