diff options
author | Brad King <brad.king@kitware.com> | 2013-12-04 15:35:04 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-12-04 16:05:05 (GMT) |
commit | 0c55729c133b7b069f27f19d035444032dda75bd (patch) | |
tree | b2043015d51211d1515f272309de3d59ae8fe33a /Help/variable/CMAKE_VS_MSBUILD_COMMAND.rst | |
parent | 4cce44b6c50a40ee13f423ae311d5db5a66a13f4 (diff) | |
download | CMake-0c55729c133b7b069f27f19d035444032dda75bd.zip CMake-0c55729c133b7b069f27f19d035444032dda75bd.tar.gz CMake-0c55729c133b7b069f27f19d035444032dda75bd.tar.bz2 |
VS: Add CMAKE_VS_(DEVENV|MSBUILD|MSDEV)_COMMAND variables
Since commit 5f5c92b9 (VS: Add internal APIs to find MSBuild,
devenv/VCExpress, and msdev, 2013-11-13) the VS generators have
known how to lookup the locations of their build tools directly.
Expose this information to CMake language code by defining new
variables to hold the paths to these tools.
Diffstat (limited to 'Help/variable/CMAKE_VS_MSBUILD_COMMAND.rst')
-rw-r--r-- | Help/variable/CMAKE_VS_MSBUILD_COMMAND.rst | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Help/variable/CMAKE_VS_MSBUILD_COMMAND.rst b/Help/variable/CMAKE_VS_MSBUILD_COMMAND.rst new file mode 100644 index 0000000..58f2bef --- /dev/null +++ b/Help/variable/CMAKE_VS_MSBUILD_COMMAND.rst @@ -0,0 +1,13 @@ +CMAKE_VS_MSBUILD_COMMAND +------------------------ + +The generators for :generator:`Visual Studio 10 2010` and above set this +variable to the ``MSBuild.exe`` command installed with the corresponding +Visual Studio version. + +This variable is not defined by other generators even if ``MSBuild.exe`` +is installed on the computer. + +The :variable:`CMAKE_VS_DEVENV_COMMAND` is also provided for the +non-Express editions of Visual Studio. +See also the :variable:`CMAKE_MAKE_PROGRAM` variable. |