[CMake] Path to current Visual Studio installation
James Bigler
jamesbigler at gmail.com
Thu Mar 17 12:56:46 EDT 2011
I'm wanting to get a path that points me to where vcvarsall.bat might live.
It's usually in the VS installation directory, and I was wondering if there
was a nice convenient CMake variable that could tell me where Visual Studio
is located.
"C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcvarsall.bat
I see from the documentation we have various variables regarding which
version of visual studio we have:
***CMAKE_CL_64
**CMAKE_COMPILER_2005
**MSVC_IDE
**MSVC_VERSION
***
In my cache the path to cl is simply cl:
CMAKE_C_COMPILER:FILEPATH=cl
Thanks,
James
******
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20110317/60e96a97/attachment.htm>
More information about the CMake
mailing list