summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudio10Generator.h
diff options
context:
space:
mode:
authorNicholas Sinlock <nsinlock@microsoft.com>2022-09-01 21:43:19 (GMT)
committerNicholas Sinlock <nsinlock@microsoft.com>2022-09-02 21:41:37 (GMT)
commitf972e4fd3acfb33888102ddc84b4e96db20998df (patch)
tree11552d663bca9daaea784ad6915ef75f7f511001 /Source/cmGlobalVisualStudio10Generator.h
parent01e95efc34a2a9bcf9910d65d3b38ff9b8a51750 (diff)
downloadCMake-f972e4fd3acfb33888102ddc84b4e96db20998df.zip
CMake-f972e4fd3acfb33888102ddc84b4e96db20998df.tar.gz
CMake-f972e4fd3acfb33888102ddc84b4e96db20998df.tar.bz2
cmVSGenerator: Add support for two-part toolset versions for Visual Studio
Enables the Global Visual Studio Versioned Generator to use two-part toolset versions, if only one toolset has that version number. For example, (14.32 is specified when 14.32.32142 and 14.32.23242 are installed). This change also add a unique return code and message if a two-part version is used when multiple matching versions are present. Fixes: #23933
Diffstat (limited to 'Source/cmGlobalVisualStudio10Generator.h')
-rw-r--r--Source/cmGlobalVisualStudio10Generator.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmGlobalVisualStudio10Generator.h b/Source/cmGlobalVisualStudio10Generator.h
index 4977a84..a33c94e 100644
--- a/Source/cmGlobalVisualStudio10Generator.h
+++ b/Source/cmGlobalVisualStudio10Generator.h
@@ -200,7 +200,8 @@ protected:
None,
Default,
PropsExist,
- PropsMissing
+ PropsMissing,
+ PropsIndeterminate
};
virtual AuxToolset FindAuxToolset(std::string& version,
std::string& props) const;