Moved the new toolsets into their own VPC file so that projects are detected as stale

This commit is contained in:
Blixibon 2021-11-11 12:29:17 -06:00
parent 0d9fefb7dd
commit 3d3ef7e587
3 changed files with 31 additions and 22 deletions

View File

@ -17,24 +17,6 @@ $Games
// Makes the VPC scripts work in the SDK's context
$Conditional "SOURCESDK" "1"
//-----------------------------------------------------------------------------
// Mapbase - Additional toolsets (NOTE: Enabling any of these makes the solution incompatible with Visual Studio 2013)
$Conditional VS2017 "0" // Toggles Visual Studio 2017 (v141) toolset
$Conditional VS2019 "0" // Toggles Visual Studio 2019 (v142) toolset
$Conditional VS2022 "0" // Toggles Visual Studio 2022 (v143) toolset
//
// Note that the following projects currently do not compile with any of the above toolsets and are not included in
// their solutions:
//
// - phonemeextractor (may be fixable with modification)
// - qc_eyes (might be fixed by having C++ MFC for v141 build tools and/or C++ ATL for v141 build tools installed)
//
//-----------------------------------------------------------------------------
$Include "vpc_scripts\projects.vgc"
$Include "vpc_scripts\groups.vgc"

View File

@ -0,0 +1,23 @@
//-----------------------------------------------------------------------------
// NEWER_VS_TOOLSETS.VPC
//
// Additional toolsets added by Mapbase.
//
// NOTE: Enabling any of these makes the solution incompatible with Visual Studio 2013!
//
//-----------------------------------------------------------------------------
$Conditional VS2015 "0" // Toggles Visual Studio 2015 (v140) toolset
$Conditional VS2017 "0" // Toggles Visual Studio 2017 (v141) toolset
$Conditional VS2019 "0" // Toggles Visual Studio 2019 (v142) toolset
$Conditional VS2022 "0" // Toggles Visual Studio 2022 (v143) toolset
//
// Note that the following projects currently do not compile with any of the above toolsets and are not included in
// their solutions:
//
// - phonemeextractor (may be fixable with modification)
// - qc_eyes (might be fixed by having C++ MFC for v141 build tools and/or C++ ATL for v141 build tools installed)
//
//-----------------------------------------------------------------------------

View File

@ -3,15 +3,19 @@
// builds the analyze.vpc file will not be listed as a dependency.
$Include "$SRCDIR\vpc_scripts\source_win32_analyze.vpc" [$ANALYZE]
// Mapbase - Implement any newer toolsets
$Include "$SRCDIR\vpc_scripts\newer_vs_toolsets.vpc"
$Configuration
{
$General
{
// Request a specific compiler toolset.
$PlatformToolset "v110_xp" [$VS2012 && !$ANALYZE && !($VS2017||$VS2019||$VS2022)] // VS 2012 targeting Windows XP - http://msdn.microsoft.com/en-us/library/vstudio/jj851139.aspx
$PlatformToolset "v110" [$VS2012 && $ANALYZE && !($VS2017||$VS2019||$VS2022)] // VS 2012 for /analyze
$PlatformToolset "v120_xp" [$VS2013 && !$ANALYZE && !($VS2017||$VS2019||$VS2022)] // VS 2013 targeting Windows XP - http://msdn.microsoft.com/en-us/library/vstudio/jj851139.aspx
$PlatformToolset "v120" [$VS2013 && $ANALYZE && !($VS2017||$VS2019||$VS2022)] // VS 2013 for /analyze
$PlatformToolset "v110_xp" [$VS2012 && !$ANALYZE && !($VS2015||$VS2017||$VS2019||$VS2022)] // VS 2012 targeting Windows XP - http://msdn.microsoft.com/en-us/library/vstudio/jj851139.aspx
$PlatformToolset "v110" [$VS2012 && $ANALYZE && !($VS2015||$VS2017||$VS2019||$VS2022)] // VS 2012 for /analyze
$PlatformToolset "v120_xp" [$VS2013 && !$ANALYZE && !($VS2015||$VS2017||$VS2019||$VS2022)] // VS 2013 targeting Windows XP - http://msdn.microsoft.com/en-us/library/vstudio/jj851139.aspx
$PlatformToolset "v120" [$VS2013 && $ANALYZE && !($VS2015||$VS2017||$VS2019||$VS2022)] // VS 2013 for /analyze
$PlatformToolset "v140" [$VS2015] // VS 2015
$PlatformToolset "v141" [$VS2017] // VS 2017
$PlatformToolset "v142" [$VS2019] // VS 2019
$PlatformToolset "v143" [$VS2022] // VS 2022