[cmake-developers] Issuing errors for faulty INTERFACE_INCLUDE_DIRECTORIES

Brad King brad.king at kitware.com
Mon Mar 25 11:06:00 EDT 2013


On 03/25/2013 05:57 AM, Stephen Kelly wrote:
> Stephen Kelly wrote:
>> I've pushed the error-on-exported-missing-include-dir branch to my clone.

Why does the test need CMAKE_OMIT_INCLUDES_CHECK?

> I'm also not sure if the check for '..' in the path is the right way to 
> check this, whether symlinks need to be considered, what the result on 
> Windows would be if the two directories are on different drives, and whether 
> windows virtual drives need to be considered.

There are other places that we check for paths under the source/build
trees, such as:

 http://cmake.org/gitweb?p=cmake.git;a=blob;f=Source/cmLocalGenerator.cxx;hb=v2.8.10.2#l2485

-Brad



More information about the cmake-developers mailing list