mirror of
https://github.com/mapbase-source/source-sdk-2013.git
synced 2024-12-26 06:45:31 +03:00
Added experimental support for v140 (VS2015) toolset
This commit is contained in:
parent
aaeb5f5835
commit
0d9fefb7dd
@ -71,7 +71,7 @@ $Configuration
|
|||||||
$SystemFrameworks "Carbon" [$OSXALL]
|
$SystemFrameworks "Carbon" [$OSXALL]
|
||||||
$SystemLibraries "rt" [$LINUXALL]
|
$SystemLibraries "rt" [$LINUXALL]
|
||||||
$IgnoreImportLibrary "TRUE"
|
$IgnoreImportLibrary "TRUE"
|
||||||
$AdditionalOptions "$BASE /force:multiple" [($VS2017||$VS2019||$VS2022)] // Required to fix _hypot in particles.lib (this may be a temporary solution)
|
$AdditionalOptions "$BASE /force:multiple" [($VS2015||$VS2017||$VS2019||$VS2022)] // Required to fix _hypot in particles.lib (this may be a temporary solution)
|
||||||
$AdditionalDependencies "$BASE winmm.lib" [$WIN32]
|
$AdditionalDependencies "$BASE winmm.lib" [$WIN32]
|
||||||
$AdditionalDependencies "$BASE wsock32.lib Ws2_32.lib" [$BUILD_REPLAY]
|
$AdditionalDependencies "$BASE wsock32.lib Ws2_32.lib" [$BUILD_REPLAY]
|
||||||
}
|
}
|
||||||
|
@ -14,8 +14,8 @@ $Configuration
|
|||||||
$Compiler
|
$Compiler
|
||||||
{
|
{
|
||||||
$AdditionalIncludeDirectories "$BASE,..\common,$SRCDIR\game\shared,.\"
|
$AdditionalIncludeDirectories "$BASE,..\common,$SRCDIR\game\shared,.\"
|
||||||
$PreprocessorDefinitions "$BASE;PROTECTED_THINGS_DISABLE;captioncompiler" [($VS2017||$VS2019||$VS2022)]
|
$PreprocessorDefinitions "$BASE;PROTECTED_THINGS_DISABLE;captioncompiler" [($VS2015||$VS2017||$VS2019||$VS2022)]
|
||||||
$PreprocessorDefinitions "$BASE;captioncompiler" [!($VS2017||$VS2019||$VS2022)]
|
$PreprocessorDefinitions "$BASE;captioncompiler" [!($VS2015||$VS2017||$VS2019||$VS2022)]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -63,7 +63,7 @@ $Project "motionmapper"
|
|||||||
|
|
||||||
$Project "phonemeextractor"
|
$Project "phonemeextractor"
|
||||||
{
|
{
|
||||||
"utils\phonemeextractor\phonemeextractor.vpc" [$WIN32 && !($VS2017||$VS2019||$VS2022)] // Not currently working with newer toolsets; may be fixable with modification
|
"utils\phonemeextractor\phonemeextractor.vpc" [$WIN32 && !($VS2015||$VS2017||$VS2019||$VS2022)] // Not currently working with newer toolsets; may be fixable with modification
|
||||||
}
|
}
|
||||||
|
|
||||||
$Project "raytrace"
|
$Project "raytrace"
|
||||||
@ -73,7 +73,7 @@ $Project "raytrace"
|
|||||||
|
|
||||||
$Project "qc_eyes"
|
$Project "qc_eyes"
|
||||||
{
|
{
|
||||||
"utils\qc_eyes\qc_eyes.vpc" [$WIN32 && !($VS2017||$VS2019||$VS2022)] // Not currently working with newer toolsets; might be fixed by having C++ MFC for v141 build tools and/or C++ ATL for v141 build tools installed
|
"utils\qc_eyes\qc_eyes.vpc" [$WIN32 && !($VS2015||$VS2017||$VS2019||$VS2022)] // Not currently working with newer toolsets; might be fixed by having C++ MFC for v141 build tools and/or C++ ATL for v141 build tools installed
|
||||||
}
|
}
|
||||||
|
|
||||||
$Project "serverplugin_empty"
|
$Project "serverplugin_empty"
|
||||||
|
@ -39,14 +39,14 @@ $Configuration
|
|||||||
|
|
||||||
$Compiler [$WIN32]
|
$Compiler [$WIN32]
|
||||||
{
|
{
|
||||||
$EnableEnhancedInstructionSet "Streaming SIMD Extensions (/arch:SSE)" [!($VS2017||$VS2019||$VS2022)]
|
$EnableEnhancedInstructionSet "Streaming SIMD Extensions (/arch:SSE)" [!($VS2015||$VS2017||$VS2019||$VS2022)]
|
||||||
$EnableEnhancedInstructionSet "Streaming SIMD Extensions 2 (/arch:SSE2)" [($VS2017||$VS2019||$VS2022)]
|
$EnableEnhancedInstructionSet "Streaming SIMD Extensions 2 (/arch:SSE2)" [($VS2015||$VS2017||$VS2019||$VS2022)]
|
||||||
}
|
}
|
||||||
|
|
||||||
$Linker
|
$Linker
|
||||||
{
|
{
|
||||||
$AdditionalDependencies "$BASE shell32.lib user32.lib advapi32.lib gdi32.lib comdlg32.lib ole32.lib" [($WIN32||$WIN64) && !($VS2017||$VS2019||$VS2022)]
|
$AdditionalDependencies "$BASE shell32.lib user32.lib advapi32.lib gdi32.lib comdlg32.lib ole32.lib" [($WIN32||$WIN64) && !($VS2015||$VS2017||$VS2019||$VS2022)]
|
||||||
$AdditionalDependencies "$BASE shell32.lib user32.lib advapi32.lib gdi32.lib comdlg32.lib ole32.lib legacy_stdio_definitions.lib" [($WIN32||$WIN64) && ($VS2017||$VS2019||$VS2022)]
|
$AdditionalDependencies "$BASE shell32.lib user32.lib advapi32.lib gdi32.lib comdlg32.lib ole32.lib legacy_stdio_definitions.lib" [($WIN32||$WIN64) && ($VS2015||$VS2017||$VS2019||$VS2022)]
|
||||||
$TargetMachine "MachineX86 (/MACHINE:X86)" [$WIN32]
|
$TargetMachine "MachineX86 (/MACHINE:X86)" [$WIN32]
|
||||||
$TargetMachine "MachineX64 (/MACHINE:X64)" [$WIN64]
|
$TargetMachine "MachineX64 (/MACHINE:X64)" [$WIN64]
|
||||||
// Suppress this pointless warning using the undocumented /ignore linker switch
|
// Suppress this pointless warning using the undocumented /ignore linker switch
|
||||||
@ -116,8 +116,8 @@ $Project
|
|||||||
$CustomBuildStep
|
$CustomBuildStep
|
||||||
{
|
{
|
||||||
// General
|
// General
|
||||||
$CommandLine "$QUOTE$(VCInstallDir)bin\ml.exe$QUOTE /safeseh /c /Cp /Zi /Fo$QUOTE$(IntDir)\$(InputName).obj$QUOTE $QUOTE$(InputPath)$QUOTE" [!($VS2017||$VS2019||$VS2022)]
|
$CommandLine "$QUOTE$(VCInstallDir)bin\ml.exe$QUOTE /safeseh /c /Cp /Zi /Fo$QUOTE$(IntDir)\$(InputName).obj$QUOTE $QUOTE$(InputPath)$QUOTE" [!($VS2015||$VS2017||$VS2019||$VS2022)]
|
||||||
$CommandLine "$QUOTE$(VC_ExecutablePath_x64_x86)\ml.exe$QUOTE /safeseh /c /Cp /Zi /Fo$QUOTE$(IntDir)\$(InputName).obj$QUOTE $QUOTE$(InputPath)$QUOTE" [($VS2017||$VS2019||$VS2022)]
|
$CommandLine "$QUOTE$(VC_ExecutablePath_x64_x86)\ml.exe$QUOTE /safeseh /c /Cp /Zi /Fo$QUOTE$(IntDir)\$(InputName).obj$QUOTE $QUOTE$(InputPath)$QUOTE" [($VS2015||$VS2017||$VS2019||$VS2022)]
|
||||||
$Description "Compiling pointeroverride.asm"
|
$Description "Compiling pointeroverride.asm"
|
||||||
$Outputs "$(IntDir)\$(InputName).obj"
|
$Outputs "$(IntDir)\$(InputName).obj"
|
||||||
}
|
}
|
||||||
|
@ -39,8 +39,8 @@ $Configuration
|
|||||||
|
|
||||||
$Compiler [$WIN32]
|
$Compiler [$WIN32]
|
||||||
{
|
{
|
||||||
$EnableEnhancedInstructionSet "Streaming SIMD Extensions (/arch:SSE)" [!($VS2017||$VS2019||$VS2022)]
|
$EnableEnhancedInstructionSet "Streaming SIMD Extensions (/arch:SSE)" [!($VS2015||$VS2017||$VS2019||$VS2022)]
|
||||||
$EnableEnhancedInstructionSet "Streaming SIMD Extensions 2 (/arch:SSE2)" [($VS2017||$VS2019||$VS2022)]
|
$EnableEnhancedInstructionSet "Streaming SIMD Extensions 2 (/arch:SSE2)" [($VS2015||$VS2017||$VS2019||$VS2022)]
|
||||||
}
|
}
|
||||||
|
|
||||||
$Linker
|
$Linker
|
||||||
@ -67,8 +67,8 @@ $Configuration
|
|||||||
|
|
||||||
$PostBuildEvent [!$ANALYZE]
|
$PostBuildEvent [!$ANALYZE]
|
||||||
{
|
{
|
||||||
$CommandLine "call $SRCDIR\vpc_scripts\valve_p4_edit.cmd $OUTBINDIR\$(TargetFileName) $SRCDIR" "\n" [!$SOURCESDK && !($VS2017||$VS2019||$VS2022)]
|
$CommandLine "call $SRCDIR\vpc_scripts\valve_p4_edit.cmd $OUTBINDIR\$(TargetFileName) $SRCDIR" "\n" [!$SOURCESDK && !($VS2015||$VS2017||$VS2019||$VS2022)]
|
||||||
$CommandLine "if not exist $QUOTE$OUTBINDIR$QUOTE mkdir $QUOTE$OUTBINDIR$QUOTE" "\n" [!$SOURCESDK && ($VS2017||$VS2019||$VS2022)]
|
$CommandLine "if not exist $QUOTE$OUTBINDIR$QUOTE mkdir $QUOTE$OUTBINDIR$QUOTE" "\n" [!$SOURCESDK && ($VS2015||$VS2017||$VS2019||$VS2022)]
|
||||||
$CommandLine "$BASE" "copy $QUOTE$(TargetDir)$QUOTE$(TargetFileName) $OUTBINDIR\$(TargetFileName) >nul" "\n" \
|
$CommandLine "$BASE" "copy $QUOTE$(TargetDir)$QUOTE$(TargetFileName) $OUTBINDIR\$(TargetFileName) >nul" "\n" \
|
||||||
"if ERRORLEVEL 1 goto BuildEventFailed" "\n" \
|
"if ERRORLEVEL 1 goto BuildEventFailed" "\n" \
|
||||||
"if exist $QUOTE$(TargetDir)$QUOTE$(TargetName).map copy $QUOTE$(TargetDir)$QUOTE$(TargetName).map $OUTBINDIR\$(TargetName).map >nul" "\n"
|
"if exist $QUOTE$(TargetDir)$QUOTE$(TargetName).map copy $QUOTE$(TargetDir)$QUOTE$(TargetName).map $OUTBINDIR\$(TargetName).map >nul" "\n"
|
||||||
@ -111,8 +111,8 @@ $Project
|
|||||||
$CustomBuildStep
|
$CustomBuildStep
|
||||||
{
|
{
|
||||||
// General
|
// General
|
||||||
$CommandLine "$QUOTE$(VCInstallDir)bin\ml.exe$QUOTE /c /Cp /Zi /Fo$QUOTE$(IntDir)\$(InputName).obj$QUOTE $QUOTE$(InputPath)$QUOTE" [!($VS2017||$VS2019||$VS2022)]
|
$CommandLine "$QUOTE$(VCInstallDir)bin\ml.exe$QUOTE /c /Cp /Zi /Fo$QUOTE$(IntDir)\$(InputName).obj$QUOTE $QUOTE$(InputPath)$QUOTE" [!($VS2015||$VS2017||$VS2019||$VS2022)]
|
||||||
$CommandLine "$QUOTE$(VC_ExecutablePath_x64_x86)\ml.exe$QUOTE /c /Cp /Zi /Fo$QUOTE$(IntDir)\$(InputName).obj$QUOTE $QUOTE$(InputPath)$QUOTE" [($VS2017||$VS2019||$VS2022)]
|
$CommandLine "$QUOTE$(VC_ExecutablePath_x64_x86)\ml.exe$QUOTE /c /Cp /Zi /Fo$QUOTE$(IntDir)\$(InputName).obj$QUOTE $QUOTE$(InputPath)$QUOTE" [($VS2015||$VS2017||$VS2019||$VS2022)]
|
||||||
$Description "Compiling pointeroverride.asm"
|
$Description "Compiling pointeroverride.asm"
|
||||||
$Outputs "$(IntDir)\$(InputName).obj"
|
$Outputs "$(IntDir)\$(InputName).obj"
|
||||||
}
|
}
|
||||||
|
@ -38,8 +38,8 @@ $Configuration
|
|||||||
|
|
||||||
$Compiler [$WIN32]
|
$Compiler [$WIN32]
|
||||||
{
|
{
|
||||||
$EnableEnhancedInstructionSet "Streaming SIMD Extensions (/arch:SSE)" [!($VS2017||$VS2019||$VS2022)]
|
$EnableEnhancedInstructionSet "Streaming SIMD Extensions (/arch:SSE)" [!($VS2015||$VS2017||$VS2019||$VS2022)]
|
||||||
$EnableEnhancedInstructionSet "Streaming SIMD Extensions 2 (/arch:SSE2)" [($VS2017||$VS2019||$VS2022)]
|
$EnableEnhancedInstructionSet "Streaming SIMD Extensions 2 (/arch:SSE2)" [($VS2015||$VS2017||$VS2019||$VS2022)]
|
||||||
}
|
}
|
||||||
|
|
||||||
$PreBuildEvent
|
$PreBuildEvent
|
||||||
|
@ -37,7 +37,7 @@ $Configuration
|
|||||||
|
|
||||||
// warning C4838: conversion requires a narrowing conversion
|
// warning C4838: conversion requires a narrowing conversion
|
||||||
// warning C4456-4459: variable shadowing. TODO: fix those!
|
// warning C4456-4459: variable shadowing. TODO: fix those!
|
||||||
$DisableSpecificWarnings "$BASE;4316;4838;4456;4457;4458;4459" [($VS2017||$VS2019||$VS2022)]
|
$DisableSpecificWarnings "$BASE;4316;4838;4456;4457;4458;4459" [($VS2015||$VS2017||$VS2019||$VS2022)]
|
||||||
|
|
||||||
// Having lots of warnings makes it harder to notice new, and possibly
|
// Having lots of warnings makes it harder to notice new, and possibly
|
||||||
// important warnings, both on buildbot and in the output window. Lots
|
// important warnings, both on buildbot and in the output window. Lots
|
||||||
|
Loading…
Reference in New Issue
Block a user