mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-23 14:48:19 -05:00
VS: Add variables to set SDK directories in vcxproj files
Create `CMAKE_VS_SDK_*_DIRECTORIES` variables to tell the VS generator how to populate fields in `.vcxproj` files that specify SDK directories. Fixes: #17908
This commit is contained in:
committed by
Brad King
parent
4984d8433e
commit
6ec3e880e7
@@ -369,6 +369,13 @@ Variables that Control the Build
|
||||
/variable/CMAKE_VISIBILITY_INLINES_HIDDEN
|
||||
/variable/CMAKE_VS_INCLUDE_INSTALL_TO_DEFAULT_BUILD
|
||||
/variable/CMAKE_VS_INCLUDE_PACKAGE_TO_DEFAULT_BUILD
|
||||
/variable/CMAKE_VS_SDK_EXCLUDE_DIRECTORIES
|
||||
/variable/CMAKE_VS_SDK_EXECUTABLE_DIRECTORIES
|
||||
/variable/CMAKE_VS_SDK_INCLUDE_DIRECTORIES
|
||||
/variable/CMAKE_VS_SDK_LIBRARY_DIRECTORIES
|
||||
/variable/CMAKE_VS_SDK_LIBRARY_WINRT_DIRECTORIES
|
||||
/variable/CMAKE_VS_SDK_REFERENCE_DIRECTORIES
|
||||
/variable/CMAKE_VS_SDK_SOURCE_DIRECTORIES
|
||||
/variable/CMAKE_WIN32_EXECUTABLE
|
||||
/variable/CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS
|
||||
/variable/CMAKE_XCODE_ATTRIBUTE_an-attribute
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
vs-sdk-dirs
|
||||
-----------
|
||||
|
||||
* ``CMAKE_VS_SDK_*_DIRECTORIES`` variables were defined to tell
|
||||
:ref:`Visual Studio Generators` for VS 2010 and above how to populate
|
||||
fields in ``.vcxproj`` files that specify SDK directories. The
|
||||
variables are:
|
||||
|
||||
- :variable:`CMAKE_VS_SDK_EXCLUDE_DIRECTORIES`
|
||||
- :variable:`CMAKE_VS_SDK_EXECUTABLE_DIRECTORIES`
|
||||
- :variable:`CMAKE_VS_SDK_INCLUDE_DIRECTORIES`
|
||||
- :variable:`CMAKE_VS_SDK_LIBRARY_DIRECTORIES`
|
||||
- :variable:`CMAKE_VS_SDK_LIBRARY_WINRT_DIRECTORIES`
|
||||
- :variable:`CMAKE_VS_SDK_REFERENCE_DIRECTORIES`
|
||||
- :variable:`CMAKE_VS_SDK_SOURCE_DIRECTORIES`
|
||||
@@ -0,0 +1,4 @@
|
||||
CMAKE_VS_SDK_EXCLUDE_DIRECTORIES
|
||||
--------------------------------
|
||||
|
||||
This variable allows to override Visual Studio default Exclude Directories.
|
||||
@@ -0,0 +1,4 @@
|
||||
CMAKE_VS_SDK_EXECUTABLE_DIRECTORIES
|
||||
-----------------------------------
|
||||
|
||||
This variable allows to override Visual Studio default Executable Directories.
|
||||
@@ -0,0 +1,4 @@
|
||||
CMAKE_VS_SDK_INCLUDE_DIRECTORIES
|
||||
--------------------------------
|
||||
|
||||
This variable allows to override Visual Studio default Include Directories.
|
||||
@@ -0,0 +1,4 @@
|
||||
CMAKE_VS_SDK_LIBRARY_DIRECTORIES
|
||||
--------------------------------
|
||||
|
||||
This variable allows to override Visual Studio default Library Directories.
|
||||
@@ -0,0 +1,5 @@
|
||||
CMAKE_VS_SDK_LIBRARY_WINRT_DIRECTORIES
|
||||
--------------------------------------
|
||||
|
||||
This variable allows to override Visual Studio default Library WinRT
|
||||
Directories.
|
||||
@@ -0,0 +1,4 @@
|
||||
CMAKE_VS_SDK_REFERENCE_DIRECTORIES
|
||||
----------------------------------
|
||||
|
||||
This variable allows to override Visual Studio default Reference Directories.
|
||||
@@ -0,0 +1,4 @@
|
||||
CMAKE_VS_SDK_SOURCE_DIRECTORIES
|
||||
-------------------------------
|
||||
|
||||
This variable allows to override Visual Studio default Source Directories.
|
||||
Reference in New Issue
Block a user