[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [fluid-dev] Need help with CMake for Windows VS 10

From: Pedro Lopez-Cabanillas
Subject: Re: [fluid-dev] Need help with CMake for Windows VS 10
Date: Mon, 26 Jul 2010 16:04:53 +0200
User-agent: KMail/1.9.6 (enterprise 20070904.708012)

On Monday, July 26, 2010, Jim Henry wrote:
> Visual Studio uses the Windows system environment variable INCLUDE to
> set the directories for included headers. Can Cmake find those files or
> do the include directories need to be on the PATH?

CMake does not find the headers by itself. The headers are tested compiling a  
source program that includes the header. So, it is the compiler who uses the 
environment variables. The MSVC command line compiler (cl.exe) uses the 
INCLUDE environment variable to locate the headers, not PATH. Of course, the 
compiler executable "cl.exe", the linker, and some other tools should be in a 
directory included in the PATH. Other important environment variables for the 
compiler are LIB and LIBPATH.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]