Commit 6fda6005 authored by Michael Stürmer's avatar Michael Stürmer
Browse files

VS: renamed target property VS_USER_PROPS_CXX to VS_USER_PROPS

parent 7f5842d7
Pipeline #42490 passed with stage
......@@ -291,7 +291,7 @@ Properties on Targets
Sets the user props file to be included in the visual studio
C++ project file. The standard path is
......@@ -3,7 +3,7 @@ vs-custom-msbuild-props
* The :ref:`Visual Studio Generators` for VS 2010 and above can
now be fine tuned using custom msbuild .props files.
:prop_tgt:`VS_USER_PROPS_CXX` can be
:prop_tgt:`VS_USER_PROPS` can be
used to change the default path of the user .props file from
``$(UserRootDir)\\Microsoft.Cpp.$(Platform).user.props`` to
an arbitrary filename.
......@@ -385,8 +385,7 @@ void cmVisualStudio10TargetGenerator::Generate()
this->WriteString("<ImportGroup Label=\"PropertySheets\">\n", 1);
std::string props = VS10_CXX_USER_PROPS;
if (const char* p =
this->GeneratorTarget->GetProperty("VS_USER_PROPS_CXX")) {
if (const char* p = this->GeneratorTarget->GetProperty("VS_USER_PROPS")) {
props = p;
......@@ -4,4 +4,4 @@ add_library(foo foo.cpp)
set(props_file "${CMAKE_CURRENT_SOURCE_DIR}/my.props")
set_target_properties(foo PROPERTIES
VS_USER_PROPS_CXX "${props_file}")
VS_USER_PROPS "${props_file}")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment