From 4c9c8a7a4d9b97fec6041a562638fbea521533ed Mon Sep 17 00:00:00 2001 From: Ellie Hermaszewska Date: Fri, 14 Apr 2023 17:08:18 +0800 Subject: Some small fixes with Windows/DX usage (#2797) * Correct case of windows.h includes * Use Slang::SharedLibrary to load directx dlls * s/max/std::max/ * Factor common OS code in calcHasApi * Add DXIL test for compute/simple * s/false/FALSE for calls to WinAPI functions * Factor common OS code in gfxGetAdapters * 2 missing headers d3d12sdklayers for ID3DDebug climits for UINT_MAX * Define out unused function on Linux * Only try to load Vulkan and CUDA on Windows or Linux * simplify D3DUtil::getDxgiModule * Remove WIN32_LEAN_AND_MEAN &co from source files Add a global define * Set WIN32_LEAN_AND_MEAN &friends in headers Restore previous state also * regenerate vs projects --- .../visual-studio/autodiff-texture/autodiff-texture.vcxproj | 12 ++++++------ build/visual-studio/compiler-core/compiler-core.vcxproj | 12 ++++++------ build/visual-studio/core/core.vcxproj | 12 ++++++------ build/visual-studio/cpu-com-example/cpu-com-example.vcxproj | 12 ++++++------ build/visual-studio/cpu-hello-world/cpu-hello-world.vcxproj | 12 ++++++------ build/visual-studio/example-base/example-base.vcxproj | 12 ++++++------ .../gfx-unit-test-tool/gfx-unit-test-tool.vcxproj | 12 ++++++------ build/visual-studio/gfx-util/gfx-util.vcxproj | 12 ++++++------ build/visual-studio/gfx/gfx.vcxproj | 12 ++++++------ build/visual-studio/gpu-printing/gpu-printing.vcxproj | 12 ++++++------ build/visual-studio/hello-world/hello-world.vcxproj | 12 ++++++------ build/visual-studio/lz4/lz4.vcxproj | 12 ++++++------ build/visual-studio/miniz/miniz.vcxproj | 12 ++++++------ build/visual-studio/model-viewer/model-viewer.vcxproj | 12 ++++++------ build/visual-studio/platform/platform.vcxproj | 12 ++++++------ .../ray-tracing-pipeline/ray-tracing-pipeline.vcxproj | 12 ++++++------ build/visual-studio/ray-tracing/ray-tracing.vcxproj | 12 ++++++------ .../visual-studio/render-test-tool/render-test-tool.vcxproj | 12 ++++++------ build/visual-studio/shader-object/shader-object.vcxproj | 12 ++++++------ build/visual-studio/shader-toy/shader-toy.vcxproj | 12 ++++++------ .../slang-cpp-extractor/slang-cpp-extractor.vcxproj | 12 ++++++------ build/visual-studio/slang-embed/slang-embed.vcxproj | 12 ++++++------ build/visual-studio/slang-generate/slang-generate.vcxproj | 12 ++++++------ .../slang-lookup-generator/slang-lookup-generator.vcxproj | 12 ++++++------ .../slang-reflection-test-tool.vcxproj | 12 ++++++------ build/visual-studio/slang-rt/slang-rt.vcxproj | 12 ++++++------ build/visual-studio/slang-test/slang-test.vcxproj | 12 ++++++------ .../slang-unit-test-tool/slang-unit-test-tool.vcxproj | 12 ++++++------ build/visual-studio/slang/slang.vcxproj | 12 ++++++------ build/visual-studio/slangc/slangc.vcxproj | 12 ++++++------ build/visual-studio/slangd/slangd.vcxproj | 12 ++++++------ build/visual-studio/test-process/test-process.vcxproj | 12 ++++++------ build/visual-studio/test-server/test-server.vcxproj | 12 ++++++------ build/visual-studio/triangle/triangle.vcxproj | 12 ++++++------ 34 files changed, 204 insertions(+), 204 deletions(-) (limited to 'build/visual-studio') diff --git a/build/visual-studio/autodiff-texture/autodiff-texture.vcxproj b/build/visual-studio/autodiff-texture/autodiff-texture.vcxproj index 8f8baa042..0444b7329 100644 --- a/build/visual-studio/autodiff-texture/autodiff-texture.vcxproj +++ b/build/visual-studio/autodiff-texture/autodiff-texture.vcxproj @@ -163,7 +163,7 @@ NotUsing Level3 - _DEBUG;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;..\..\..\tools;%(AdditionalIncludeDirectories) ProgramDatabase Disabled @@ -181,7 +181,7 @@ NotUsing Level3 - _DEBUG;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;..\..\..\tools;%(AdditionalIncludeDirectories) ProgramDatabase Disabled @@ -199,7 +199,7 @@ NotUsing Level3 - _DEBUG;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;..\..\..\tools;%(AdditionalIncludeDirectories) ProgramDatabase Disabled @@ -217,7 +217,7 @@ NotUsing Level3 - NDEBUG;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;..\..\..\tools;%(AdditionalIncludeDirectories) Full true @@ -238,7 +238,7 @@ NotUsing Level3 - NDEBUG;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;..\..\..\tools;%(AdditionalIncludeDirectories) Full true @@ -259,7 +259,7 @@ NotUsing Level3 - NDEBUG;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;..\..\..\tools;%(AdditionalIncludeDirectories) Full true diff --git a/build/visual-studio/compiler-core/compiler-core.vcxproj b/build/visual-studio/compiler-core/compiler-core.vcxproj index b70e7df94..30650946b 100644 --- a/build/visual-studio/compiler-core/compiler-core.vcxproj +++ b/build/visual-studio/compiler-core/compiler-core.vcxproj @@ -157,7 +157,7 @@ NotUsing Level4 - _DEBUG;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ProgramDatabase Disabled false @@ -174,7 +174,7 @@ NotUsing Level4 - _DEBUG;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ProgramDatabase Disabled false @@ -191,7 +191,7 @@ NotUsing Level4 - _DEBUG;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ProgramDatabase Disabled false @@ -208,7 +208,7 @@ NotUsing Level4 - NDEBUG;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) Full true true @@ -228,7 +228,7 @@ NotUsing Level4 - NDEBUG;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) Full true true @@ -248,7 +248,7 @@ NotUsing Level4 - NDEBUG;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) Full true true diff --git a/build/visual-studio/core/core.vcxproj b/build/visual-studio/core/core.vcxproj index dafde44ea..7799dd8f4 100644 --- a/build/visual-studio/core/core.vcxproj +++ b/build/visual-studio/core/core.vcxproj @@ -157,7 +157,7 @@ NotUsing Level4 - _DEBUG;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ProgramDatabase Disabled false @@ -174,7 +174,7 @@ NotUsing Level4 - _DEBUG;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ProgramDatabase Disabled false @@ -191,7 +191,7 @@ NotUsing Level4 - _DEBUG;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ProgramDatabase Disabled false @@ -208,7 +208,7 @@ NotUsing Level4 - NDEBUG;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) Full true true @@ -228,7 +228,7 @@ NotUsing Level4 - NDEBUG;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) Full true true @@ -248,7 +248,7 @@ NotUsing Level4 - NDEBUG;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) Full true true diff --git a/build/visual-studio/cpu-com-example/cpu-com-example.vcxproj b/build/visual-studio/cpu-com-example/cpu-com-example.vcxproj index da6091c78..39eb8068f 100644 --- a/build/visual-studio/cpu-com-example/cpu-com-example.vcxproj +++ b/build/visual-studio/cpu-com-example/cpu-com-example.vcxproj @@ -163,7 +163,7 @@ NotUsing Level3 - _DEBUG;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;..\..\..\tools;%(AdditionalIncludeDirectories) ProgramDatabase Disabled @@ -181,7 +181,7 @@ NotUsing Level3 - _DEBUG;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;..\..\..\tools;%(AdditionalIncludeDirectories) ProgramDatabase Disabled @@ -199,7 +199,7 @@ NotUsing Level3 - _DEBUG;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;..\..\..\tools;%(AdditionalIncludeDirectories) ProgramDatabase Disabled @@ -217,7 +217,7 @@ NotUsing Level3 - NDEBUG;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;..\..\..\tools;%(AdditionalIncludeDirectories) Full true @@ -238,7 +238,7 @@ NotUsing Level3 - NDEBUG;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;..\..\..\tools;%(AdditionalIncludeDirectories) Full true @@ -259,7 +259,7 @@ NotUsing Level3 - NDEBUG;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;..\..\..\tools;%(AdditionalIncludeDirectories) Full true diff --git a/build/visual-studio/cpu-hello-world/cpu-hello-world.vcxproj b/build/visual-studio/cpu-hello-world/cpu-hello-world.vcxproj index 6e4942fa1..c6582cb1f 100644 --- a/build/visual-studio/cpu-hello-world/cpu-hello-world.vcxproj +++ b/build/visual-studio/cpu-hello-world/cpu-hello-world.vcxproj @@ -163,7 +163,7 @@ NotUsing Level3 - _DEBUG;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;..\..\..\tools;%(AdditionalIncludeDirectories) ProgramDatabase Disabled @@ -181,7 +181,7 @@ NotUsing Level3 - _DEBUG;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;..\..\..\tools;%(AdditionalIncludeDirectories) ProgramDatabase Disabled @@ -199,7 +199,7 @@ NotUsing Level3 - _DEBUG;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;..\..\..\tools;%(AdditionalIncludeDirectories) ProgramDatabase Disabled @@ -217,7 +217,7 @@ NotUsing Level3 - NDEBUG;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;..\..\..\tools;%(AdditionalIncludeDirectories) Full true @@ -238,7 +238,7 @@ NotUsing Level3 - NDEBUG;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;..\..\..\tools;%(AdditionalIncludeDirectories) Full true @@ -259,7 +259,7 @@ NotUsing Level3 - NDEBUG;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;..\..\..\tools;%(AdditionalIncludeDirectories) Full true diff --git a/build/visual-studio/example-base/example-base.vcxproj b/build/visual-studio/example-base/example-base.vcxproj index 92765a015..6a7da112a 100644 --- a/build/visual-studio/example-base/example-base.vcxproj +++ b/build/visual-studio/example-base/example-base.vcxproj @@ -157,7 +157,7 @@ NotUsing Level3 - _DEBUG;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;..\..\..\tools;%(AdditionalIncludeDirectories) ProgramDatabase Disabled @@ -175,7 +175,7 @@ NotUsing Level3 - _DEBUG;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;..\..\..\tools;%(AdditionalIncludeDirectories) ProgramDatabase Disabled @@ -193,7 +193,7 @@ NotUsing Level3 - _DEBUG;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;..\..\..\tools;%(AdditionalIncludeDirectories) ProgramDatabase Disabled @@ -211,7 +211,7 @@ NotUsing Level3 - NDEBUG;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;..\..\..\tools;%(AdditionalIncludeDirectories) Full true @@ -232,7 +232,7 @@ NotUsing Level3 - NDEBUG;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;..\..\..\tools;%(AdditionalIncludeDirectories) Full true @@ -253,7 +253,7 @@ NotUsing Level3 - NDEBUG;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;..\..\..\tools;%(AdditionalIncludeDirectories) Full true diff --git a/build/visual-studio/gfx-unit-test-tool/gfx-unit-test-tool.vcxproj b/build/visual-studio/gfx-unit-test-tool/gfx-unit-test-tool.vcxproj index 4691b1277..b3aea8f94 100644 --- a/build/visual-studio/gfx-unit-test-tool/gfx-unit-test-tool.vcxproj +++ b/build/visual-studio/gfx-unit-test-tool/gfx-unit-test-tool.vcxproj @@ -163,7 +163,7 @@ NotUsing Level3 - _DEBUG;SLANG_SHARED_LIBRARY_TOOL;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;SLANG_SHARED_LIBRARY_TOOL;%(PreprocessorDefinitions) ..\..\..;%(AdditionalIncludeDirectories) ProgramDatabase Disabled @@ -182,7 +182,7 @@ NotUsing Level3 - _DEBUG;SLANG_SHARED_LIBRARY_TOOL;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;SLANG_SHARED_LIBRARY_TOOL;%(PreprocessorDefinitions) ..\..\..;%(AdditionalIncludeDirectories) ProgramDatabase Disabled @@ -201,7 +201,7 @@ NotUsing Level3 - _DEBUG;SLANG_SHARED_LIBRARY_TOOL;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;SLANG_SHARED_LIBRARY_TOOL;%(PreprocessorDefinitions) ..\..\..;%(AdditionalIncludeDirectories) ProgramDatabase Disabled @@ -220,7 +220,7 @@ NotUsing Level3 - NDEBUG;SLANG_SHARED_LIBRARY_TOOL;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;SLANG_SHARED_LIBRARY_TOOL;%(PreprocessorDefinitions) ..\..\..;%(AdditionalIncludeDirectories) Full true @@ -242,7 +242,7 @@ NotUsing Level3 - NDEBUG;SLANG_SHARED_LIBRARY_TOOL;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;SLANG_SHARED_LIBRARY_TOOL;%(PreprocessorDefinitions) ..\..\..;%(AdditionalIncludeDirectories) Full true @@ -264,7 +264,7 @@ NotUsing Level3 - NDEBUG;SLANG_SHARED_LIBRARY_TOOL;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;SLANG_SHARED_LIBRARY_TOOL;%(PreprocessorDefinitions) ..\..\..;%(AdditionalIncludeDirectories) Full true diff --git a/build/visual-studio/gfx-util/gfx-util.vcxproj b/build/visual-studio/gfx-util/gfx-util.vcxproj index 014756883..953e93b54 100644 --- a/build/visual-studio/gfx-util/gfx-util.vcxproj +++ b/build/visual-studio/gfx-util/gfx-util.vcxproj @@ -157,7 +157,7 @@ NotUsing Level3 - _DEBUG;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;..\..\..\source;%(AdditionalIncludeDirectories) ProgramDatabase Disabled @@ -175,7 +175,7 @@ NotUsing Level3 - _DEBUG;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;..\..\..\source;%(AdditionalIncludeDirectories) ProgramDatabase Disabled @@ -193,7 +193,7 @@ NotUsing Level3 - _DEBUG;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;..\..\..\source;%(AdditionalIncludeDirectories) ProgramDatabase Disabled @@ -211,7 +211,7 @@ NotUsing Level3 - NDEBUG;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;..\..\..\source;%(AdditionalIncludeDirectories) Full true @@ -232,7 +232,7 @@ NotUsing Level3 - NDEBUG;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;..\..\..\source;%(AdditionalIncludeDirectories) Full true @@ -253,7 +253,7 @@ NotUsing Level3 - NDEBUG;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;..\..\..\source;%(AdditionalIncludeDirectories) Full true diff --git a/build/visual-studio/gfx/gfx.vcxproj b/build/visual-studio/gfx/gfx.vcxproj index 19ee1b314..583d78e25 100644 --- a/build/visual-studio/gfx/gfx.vcxproj +++ b/build/visual-studio/gfx/gfx.vcxproj @@ -164,7 +164,7 @@ NotUsing Level3 - _DEBUG;SLANG_GFX_DYNAMIC;SLANG_GFX_DYNAMIC_EXPORT;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;SLANG_GFX_DYNAMIC;SLANG_GFX_DYNAMIC_EXPORT;%(PreprocessorDefinitions) ..\..\..;..\..\..\external;..\..\..\source;%(AdditionalIncludeDirectories) ProgramDatabase Disabled @@ -188,7 +188,7 @@ IF EXIST "$(SolutionDir)tools\gfx\slang.slang"\ (xcopy /Q /E /Y /I "$(SolutionDi NotUsing Level3 - _DEBUG;SLANG_GFX_DYNAMIC;SLANG_GFX_DYNAMIC_EXPORT;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;SLANG_GFX_DYNAMIC;SLANG_GFX_DYNAMIC_EXPORT;%(PreprocessorDefinitions) ..\..\..;..\..\..\external;..\..\..\source;%(AdditionalIncludeDirectories) ProgramDatabase Disabled @@ -212,7 +212,7 @@ IF EXIST "$(SolutionDir)tools\gfx\slang.slang"\ (xcopy /Q /E /Y /I "$(SolutionDi NotUsing Level3 - _DEBUG;SLANG_GFX_DYNAMIC;SLANG_GFX_DYNAMIC_EXPORT;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;SLANG_GFX_DYNAMIC;SLANG_GFX_DYNAMIC_EXPORT;%(PreprocessorDefinitions) ..\..\..;..\..\..\external;..\..\..\source;%(AdditionalIncludeDirectories) ProgramDatabase Disabled @@ -236,7 +236,7 @@ IF EXIST "$(SolutionDir)tools\gfx\slang.slang"\ (xcopy /Q /E /Y /I "$(SolutionDi NotUsing Level3 - NDEBUG;SLANG_GFX_DYNAMIC;SLANG_GFX_DYNAMIC_EXPORT;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;SLANG_GFX_DYNAMIC;SLANG_GFX_DYNAMIC_EXPORT;%(PreprocessorDefinitions) ..\..\..;..\..\..\external;..\..\..\source;%(AdditionalIncludeDirectories) Full true @@ -263,7 +263,7 @@ IF EXIST "$(SolutionDir)tools\gfx\slang.slang"\ (xcopy /Q /E /Y /I "$(SolutionDi NotUsing Level3 - NDEBUG;SLANG_GFX_DYNAMIC;SLANG_GFX_DYNAMIC_EXPORT;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;SLANG_GFX_DYNAMIC;SLANG_GFX_DYNAMIC_EXPORT;%(PreprocessorDefinitions) ..\..\..;..\..\..\external;..\..\..\source;%(AdditionalIncludeDirectories) Full true @@ -290,7 +290,7 @@ IF EXIST "$(SolutionDir)tools\gfx\slang.slang"\ (xcopy /Q /E /Y /I "$(SolutionDi NotUsing Level3 - NDEBUG;SLANG_GFX_DYNAMIC;SLANG_GFX_DYNAMIC_EXPORT;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;SLANG_GFX_DYNAMIC;SLANG_GFX_DYNAMIC_EXPORT;%(PreprocessorDefinitions) ..\..\..;..\..\..\external;..\..\..\source;%(AdditionalIncludeDirectories) Full true diff --git a/build/visual-studio/gpu-printing/gpu-printing.vcxproj b/build/visual-studio/gpu-printing/gpu-printing.vcxproj index 29220bb64..e2299e882 100644 --- a/build/visual-studio/gpu-printing/gpu-printing.vcxproj +++ b/build/visual-studio/gpu-printing/gpu-printing.vcxproj @@ -163,7 +163,7 @@ NotUsing Level3 - _DEBUG;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;..\..\..\tools;%(AdditionalIncludeDirectories) ProgramDatabase Disabled @@ -181,7 +181,7 @@ NotUsing Level3 - _DEBUG;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;..\..\..\tools;%(AdditionalIncludeDirectories) ProgramDatabase Disabled @@ -199,7 +199,7 @@ NotUsing Level3 - _DEBUG;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;..\..\..\tools;%(AdditionalIncludeDirectories) ProgramDatabase Disabled @@ -217,7 +217,7 @@ NotUsing Level3 - NDEBUG;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;..\..\..\tools;%(AdditionalIncludeDirectories) Full true @@ -238,7 +238,7 @@ NotUsing Level3 - NDEBUG;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;..\..\..\tools;%(AdditionalIncludeDirectories) Full true @@ -259,7 +259,7 @@ NotUsing Level3 - NDEBUG;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;..\..\..\tools;%(AdditionalIncludeDirectories) Full true diff --git a/build/visual-studio/hello-world/hello-world.vcxproj b/build/visual-studio/hello-world/hello-world.vcxproj index 48444f8d2..4d0626fca 100644 --- a/build/visual-studio/hello-world/hello-world.vcxproj +++ b/build/visual-studio/hello-world/hello-world.vcxproj @@ -163,7 +163,7 @@ NotUsing Level3 - _DEBUG;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;..\..\..\tools;..\..\..\external\vulkan\include;%(AdditionalIncludeDirectories) ProgramDatabase Disabled @@ -181,7 +181,7 @@ NotUsing Level3 - _DEBUG;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;..\..\..\tools;..\..\..\external\vulkan\include;%(AdditionalIncludeDirectories) ProgramDatabase Disabled @@ -199,7 +199,7 @@ NotUsing Level3 - _DEBUG;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;..\..\..\tools;..\..\..\external\vulkan\include;%(AdditionalIncludeDirectories) ProgramDatabase Disabled @@ -217,7 +217,7 @@ NotUsing Level3 - NDEBUG;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;..\..\..\tools;..\..\..\external\vulkan\include;%(AdditionalIncludeDirectories) Full true @@ -238,7 +238,7 @@ NotUsing Level3 - NDEBUG;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;..\..\..\tools;..\..\..\external\vulkan\include;%(AdditionalIncludeDirectories) Full true @@ -259,7 +259,7 @@ NotUsing Level3 - NDEBUG;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;..\..\..\tools;..\..\..\external\vulkan\include;%(AdditionalIncludeDirectories) Full true diff --git a/build/visual-studio/lz4/lz4.vcxproj b/build/visual-studio/lz4/lz4.vcxproj index d4df56803..d053fc170 100644 --- a/build/visual-studio/lz4/lz4.vcxproj +++ b/build/visual-studio/lz4/lz4.vcxproj @@ -157,7 +157,7 @@ NotUsing Level3 - _DEBUG;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ProgramDatabase Disabled false @@ -174,7 +174,7 @@ NotUsing Level3 - _DEBUG;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ProgramDatabase Disabled false @@ -191,7 +191,7 @@ NotUsing Level3 - _DEBUG;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ProgramDatabase Disabled false @@ -208,7 +208,7 @@ NotUsing Level3 - NDEBUG;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) Full true true @@ -228,7 +228,7 @@ NotUsing Level3 - NDEBUG;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) Full true true @@ -248,7 +248,7 @@ NotUsing Level3 - NDEBUG;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) Full true true diff --git a/build/visual-studio/miniz/miniz.vcxproj b/build/visual-studio/miniz/miniz.vcxproj index 4fe61732c..de11c3a71 100644 --- a/build/visual-studio/miniz/miniz.vcxproj +++ b/build/visual-studio/miniz/miniz.vcxproj @@ -157,7 +157,7 @@ NotUsing Level3 - _DEBUG;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ProgramDatabase Disabled false @@ -174,7 +174,7 @@ NotUsing Level3 - _DEBUG;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ProgramDatabase Disabled false @@ -191,7 +191,7 @@ NotUsing Level3 - _DEBUG;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ProgramDatabase Disabled false @@ -208,7 +208,7 @@ NotUsing Level3 - NDEBUG;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) Full true true @@ -228,7 +228,7 @@ NotUsing Level3 - NDEBUG;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) Full true true @@ -248,7 +248,7 @@ NotUsing Level3 - NDEBUG;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) Full true true diff --git a/build/visual-studio/model-viewer/model-viewer.vcxproj b/build/visual-studio/model-viewer/model-viewer.vcxproj index 894bbdc4c..9596446a0 100644 --- a/build/visual-studio/model-viewer/model-viewer.vcxproj +++ b/build/visual-studio/model-viewer/model-viewer.vcxproj @@ -163,7 +163,7 @@ NotUsing Level3 - _DEBUG;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;..\..\..\tools;%(AdditionalIncludeDirectories) ProgramDatabase Disabled @@ -181,7 +181,7 @@ NotUsing Level3 - _DEBUG;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;..\..\..\tools;%(AdditionalIncludeDirectories) ProgramDatabase Disabled @@ -199,7 +199,7 @@ NotUsing Level3 - _DEBUG;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;..\..\..\tools;%(AdditionalIncludeDirectories) ProgramDatabase Disabled @@ -217,7 +217,7 @@ NotUsing Level3 - NDEBUG;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;..\..\..\tools;%(AdditionalIncludeDirectories) Full true @@ -238,7 +238,7 @@ NotUsing Level3 - NDEBUG;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;..\..\..\tools;%(AdditionalIncludeDirectories) Full true @@ -259,7 +259,7 @@ NotUsing Level3 - NDEBUG;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;..\..\..\tools;%(AdditionalIncludeDirectories) Full true diff --git a/build/visual-studio/platform/platform.vcxproj b/build/visual-studio/platform/platform.vcxproj index bf4cd1ffc..091ed0745 100644 --- a/build/visual-studio/platform/platform.vcxproj +++ b/build/visual-studio/platform/platform.vcxproj @@ -164,7 +164,7 @@ NotUsing Level3 - _DEBUG;SLANG_PLATFORM_DYNAMIC;SLANG_PLATFORM_DYNAMIC_EXPORT;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;SLANG_PLATFORM_DYNAMIC;SLANG_PLATFORM_DYNAMIC_EXPORT;%(PreprocessorDefinitions) ..\..\..;..\..\..\external;..\..\..\source;..\..\..\external\imgui;..\..\..\tools\gfx;%(AdditionalIncludeDirectories) ProgramDatabase Disabled @@ -183,7 +183,7 @@ NotUsing Level3 - _DEBUG;SLANG_PLATFORM_DYNAMIC;SLANG_PLATFORM_DYNAMIC_EXPORT;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;SLANG_PLATFORM_DYNAMIC;SLANG_PLATFORM_DYNAMIC_EXPORT;%(PreprocessorDefinitions) ..\..\..;..\..\..\external;..\..\..\source;..\..\..\external\imgui;..\..\..\tools\gfx;%(AdditionalIncludeDirectories) ProgramDatabase Disabled @@ -202,7 +202,7 @@ NotUsing Level3 - _DEBUG;SLANG_PLATFORM_DYNAMIC;SLANG_PLATFORM_DYNAMIC_EXPORT;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;SLANG_PLATFORM_DYNAMIC;SLANG_PLATFORM_DYNAMIC_EXPORT;%(PreprocessorDefinitions) ..\..\..;..\..\..\external;..\..\..\source;..\..\..\external\imgui;..\..\..\tools\gfx;%(AdditionalIncludeDirectories) ProgramDatabase Disabled @@ -221,7 +221,7 @@ NotUsing Level3 - NDEBUG;SLANG_PLATFORM_DYNAMIC;SLANG_PLATFORM_DYNAMIC_EXPORT;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;SLANG_PLATFORM_DYNAMIC;SLANG_PLATFORM_DYNAMIC_EXPORT;%(PreprocessorDefinitions) ..\..\..;..\..\..\external;..\..\..\source;..\..\..\external\imgui;..\..\..\tools\gfx;%(AdditionalIncludeDirectories) Full true @@ -243,7 +243,7 @@ NotUsing Level3 - NDEBUG;SLANG_PLATFORM_DYNAMIC;SLANG_PLATFORM_DYNAMIC_EXPORT;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;SLANG_PLATFORM_DYNAMIC;SLANG_PLATFORM_DYNAMIC_EXPORT;%(PreprocessorDefinitions) ..\..\..;..\..\..\external;..\..\..\source;..\..\..\external\imgui;..\..\..\tools\gfx;%(AdditionalIncludeDirectories) Full true @@ -265,7 +265,7 @@ NotUsing Level3 - NDEBUG;SLANG_PLATFORM_DYNAMIC;SLANG_PLATFORM_DYNAMIC_EXPORT;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;SLANG_PLATFORM_DYNAMIC;SLANG_PLATFORM_DYNAMIC_EXPORT;%(PreprocessorDefinitions) ..\..\..;..\..\..\external;..\..\..\source;..\..\..\external\imgui;..\..\..\tools\gfx;%(AdditionalIncludeDirectories) Full true diff --git a/build/visual-studio/ray-tracing-pipeline/ray-tracing-pipeline.vcxproj b/build/visual-studio/ray-tracing-pipeline/ray-tracing-pipeline.vcxproj index 40c4ccecb..7ecd1a562 100644 --- a/build/visual-studio/ray-tracing-pipeline/ray-tracing-pipeline.vcxproj +++ b/build/visual-studio/ray-tracing-pipeline/ray-tracing-pipeline.vcxproj @@ -163,7 +163,7 @@ NotUsing Level3 - _DEBUG;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;..\..\..\tools;%(AdditionalIncludeDirectories) ProgramDatabase Disabled @@ -181,7 +181,7 @@ NotUsing Level3 - _DEBUG;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;..\..\..\tools;%(AdditionalIncludeDirectories) ProgramDatabase Disabled @@ -199,7 +199,7 @@ NotUsing Level3 - _DEBUG;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;..\..\..\tools;%(AdditionalIncludeDirectories) ProgramDatabase Disabled @@ -217,7 +217,7 @@ NotUsing Level3 - NDEBUG;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;..\..\..\tools;%(AdditionalIncludeDirectories) Full true @@ -238,7 +238,7 @@ NotUsing Level3 - NDEBUG;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;..\..\..\tools;%(AdditionalIncludeDirectories) Full true @@ -259,7 +259,7 @@ NotUsing Level3 - NDEBUG;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;..\..\..\tools;%(AdditionalIncludeDirectories) Full true diff --git a/build/visual-studio/ray-tracing/ray-tracing.vcxproj b/build/visual-studio/ray-tracing/ray-tracing.vcxproj index dc866bd68..cbaf2fa04 100644 --- a/build/visual-studio/ray-tracing/ray-tracing.vcxproj +++ b/build/visual-studio/ray-tracing/ray-tracing.vcxproj @@ -163,7 +163,7 @@ NotUsing Level3 - _DEBUG;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;..\..\..\tools;%(AdditionalIncludeDirectories) ProgramDatabase Disabled @@ -181,7 +181,7 @@ NotUsing Level3 - _DEBUG;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;..\..\..\tools;%(AdditionalIncludeDirectories) ProgramDatabase Disabled @@ -199,7 +199,7 @@ NotUsing Level3 - _DEBUG;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;..\..\..\tools;%(AdditionalIncludeDirectories) ProgramDatabase Disabled @@ -217,7 +217,7 @@ NotUsing Level3 - NDEBUG;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;..\..\..\tools;%(AdditionalIncludeDirectories) Full true @@ -238,7 +238,7 @@ NotUsing Level3 - NDEBUG;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;..\..\..\tools;%(AdditionalIncludeDirectories) Full true @@ -259,7 +259,7 @@ NotUsing Level3 - NDEBUG;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;..\..\..\tools;%(AdditionalIncludeDirectories) Full true diff --git a/build/visual-studio/render-test-tool/render-test-tool.vcxproj b/build/visual-studio/render-test-tool/render-test-tool.vcxproj index 7f9d3dfc1..89a5222f8 100644 --- a/build/visual-studio/render-test-tool/render-test-tool.vcxproj +++ b/build/visual-studio/render-test-tool/render-test-tool.vcxproj @@ -164,7 +164,7 @@ NotUsing Level3 - _DEBUG;SLANG_SHARED_LIBRARY_TOOL;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;SLANG_SHARED_LIBRARY_TOOL;%(PreprocessorDefinitions) ..\..\..;..\..\..\external;..\..\..\source;..\..\..\tools\gfx;..\..\..\tools\platform;%(AdditionalIncludeDirectories) ProgramDatabase Disabled @@ -186,7 +186,7 @@ NotUsing Level3 - _DEBUG;SLANG_SHARED_LIBRARY_TOOL;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;SLANG_SHARED_LIBRARY_TOOL;%(PreprocessorDefinitions) ..\..\..;..\..\..\external;..\..\..\source;..\..\..\tools\gfx;..\..\..\tools\platform;%(AdditionalIncludeDirectories) ProgramDatabase Disabled @@ -208,7 +208,7 @@ NotUsing Level3 - _DEBUG;SLANG_SHARED_LIBRARY_TOOL;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;SLANG_SHARED_LIBRARY_TOOL;%(PreprocessorDefinitions) ..\..\..;..\..\..\external;..\..\..\source;..\..\..\tools\gfx;..\..\..\tools\platform;%(AdditionalIncludeDirectories) ProgramDatabase Disabled @@ -230,7 +230,7 @@ NotUsing Level3 - NDEBUG;SLANG_SHARED_LIBRARY_TOOL;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;SLANG_SHARED_LIBRARY_TOOL;%(PreprocessorDefinitions) ..\..\..;..\..\..\external;..\..\..\source;..\..\..\tools\gfx;..\..\..\tools\platform;%(AdditionalIncludeDirectories) Full true @@ -255,7 +255,7 @@ NotUsing Level3 - NDEBUG;SLANG_SHARED_LIBRARY_TOOL;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;SLANG_SHARED_LIBRARY_TOOL;%(PreprocessorDefinitions) ..\..\..;..\..\..\external;..\..\..\source;..\..\..\tools\gfx;..\..\..\tools\platform;%(AdditionalIncludeDirectories) Full true @@ -280,7 +280,7 @@ NotUsing Level3 - NDEBUG;SLANG_SHARED_LIBRARY_TOOL;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;SLANG_SHARED_LIBRARY_TOOL;%(PreprocessorDefinitions) ..\..\..;..\..\..\external;..\..\..\source;..\..\..\tools\gfx;..\..\..\tools\platform;%(AdditionalIncludeDirectories) Full true diff --git a/build/visual-studio/shader-object/shader-object.vcxproj b/build/visual-studio/shader-object/shader-object.vcxproj index b110e8c20..187a5ecb6 100644 --- a/build/visual-studio/shader-object/shader-object.vcxproj +++ b/build/visual-studio/shader-object/shader-object.vcxproj @@ -163,7 +163,7 @@ NotUsing Level3 - _DEBUG;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;..\..\..\tools;%(AdditionalIncludeDirectories) ProgramDatabase Disabled @@ -181,7 +181,7 @@ NotUsing Level3 - _DEBUG;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;..\..\..\tools;%(AdditionalIncludeDirectories) ProgramDatabase Disabled @@ -199,7 +199,7 @@ NotUsing Level3 - _DEBUG;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;..\..\..\tools;%(AdditionalIncludeDirectories) ProgramDatabase Disabled @@ -217,7 +217,7 @@ NotUsing Level3 - NDEBUG;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;..\..\..\tools;%(AdditionalIncludeDirectories) Full true @@ -238,7 +238,7 @@ NotUsing Level3 - NDEBUG;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;..\..\..\tools;%(AdditionalIncludeDirectories) Full true @@ -259,7 +259,7 @@ NotUsing Level3 - NDEBUG;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;..\..\..\tools;%(AdditionalIncludeDirectories) Full true diff --git a/build/visual-studio/shader-toy/shader-toy.vcxproj b/build/visual-studio/shader-toy/shader-toy.vcxproj index c829f4562..5662cfea8 100644 --- a/build/visual-studio/shader-toy/shader-toy.vcxproj +++ b/build/visual-studio/shader-toy/shader-toy.vcxproj @@ -163,7 +163,7 @@ NotUsing Level3 - _DEBUG;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;..\..\..\tools;%(AdditionalIncludeDirectories) ProgramDatabase Disabled @@ -181,7 +181,7 @@ NotUsing Level3 - _DEBUG;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;..\..\..\tools;%(AdditionalIncludeDirectories) ProgramDatabase Disabled @@ -199,7 +199,7 @@ NotUsing Level3 - _DEBUG;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;..\..\..\tools;%(AdditionalIncludeDirectories) ProgramDatabase Disabled @@ -217,7 +217,7 @@ NotUsing Level3 - NDEBUG;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;..\..\..\tools;%(AdditionalIncludeDirectories) Full true @@ -238,7 +238,7 @@ NotUsing Level3 - NDEBUG;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;..\..\..\tools;%(AdditionalIncludeDirectories) Full true @@ -259,7 +259,7 @@ NotUsing Level3 - NDEBUG;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;..\..\..\tools;%(AdditionalIncludeDirectories) Full true diff --git a/build/visual-studio/slang-cpp-extractor/slang-cpp-extractor.vcxproj b/build/visual-studio/slang-cpp-extractor/slang-cpp-extractor.vcxproj index 61619f77a..3ff1e702b 100644 --- a/build/visual-studio/slang-cpp-extractor/slang-cpp-extractor.vcxproj +++ b/build/visual-studio/slang-cpp-extractor/slang-cpp-extractor.vcxproj @@ -163,7 +163,7 @@ NotUsing Level3 - _DEBUG;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;%(AdditionalIncludeDirectories) ProgramDatabase Disabled @@ -181,7 +181,7 @@ NotUsing Level3 - _DEBUG;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;%(AdditionalIncludeDirectories) ProgramDatabase Disabled @@ -199,7 +199,7 @@ NotUsing Level3 - _DEBUG;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;%(AdditionalIncludeDirectories) ProgramDatabase Disabled @@ -217,7 +217,7 @@ NotUsing Level3 - NDEBUG;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;%(AdditionalIncludeDirectories) Full true @@ -238,7 +238,7 @@ NotUsing Level3 - NDEBUG;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;%(AdditionalIncludeDirectories) Full true @@ -259,7 +259,7 @@ NotUsing Level3 - NDEBUG;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;%(AdditionalIncludeDirectories) Full true diff --git a/build/visual-studio/slang-embed/slang-embed.vcxproj b/build/visual-studio/slang-embed/slang-embed.vcxproj index f855bb5ef..d0625a9d3 100644 --- a/build/visual-studio/slang-embed/slang-embed.vcxproj +++ b/build/visual-studio/slang-embed/slang-embed.vcxproj @@ -163,7 +163,7 @@ NotUsing Level3 - _DEBUG;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ProgramDatabase Disabled false @@ -180,7 +180,7 @@ NotUsing Level3 - _DEBUG;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ProgramDatabase Disabled false @@ -197,7 +197,7 @@ NotUsing Level3 - _DEBUG;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ProgramDatabase Disabled false @@ -214,7 +214,7 @@ NotUsing Level3 - NDEBUG;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) Full true true @@ -234,7 +234,7 @@ NotUsing Level3 - NDEBUG;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) Full true true @@ -254,7 +254,7 @@ NotUsing Level3 - NDEBUG;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) Full true true diff --git a/build/visual-studio/slang-generate/slang-generate.vcxproj b/build/visual-studio/slang-generate/slang-generate.vcxproj index 0cee678b8..098e75bee 100644 --- a/build/visual-studio/slang-generate/slang-generate.vcxproj +++ b/build/visual-studio/slang-generate/slang-generate.vcxproj @@ -163,7 +163,7 @@ NotUsing Level3 - _DEBUG;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ProgramDatabase Disabled false @@ -180,7 +180,7 @@ NotUsing Level3 - _DEBUG;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ProgramDatabase Disabled false @@ -197,7 +197,7 @@ NotUsing Level3 - _DEBUG;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ProgramDatabase Disabled false @@ -214,7 +214,7 @@ NotUsing Level3 - NDEBUG;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) Full true true @@ -234,7 +234,7 @@ NotUsing Level3 - NDEBUG;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) Full true true @@ -254,7 +254,7 @@ NotUsing Level3 - NDEBUG;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) Full true true diff --git a/build/visual-studio/slang-lookup-generator/slang-lookup-generator.vcxproj b/build/visual-studio/slang-lookup-generator/slang-lookup-generator.vcxproj index e4591de58..6c8562f80 100644 --- a/build/visual-studio/slang-lookup-generator/slang-lookup-generator.vcxproj +++ b/build/visual-studio/slang-lookup-generator/slang-lookup-generator.vcxproj @@ -163,7 +163,7 @@ NotUsing Level3 - _DEBUG;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;%(AdditionalIncludeDirectories) ProgramDatabase Disabled @@ -181,7 +181,7 @@ NotUsing Level3 - _DEBUG;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;%(AdditionalIncludeDirectories) ProgramDatabase Disabled @@ -199,7 +199,7 @@ NotUsing Level3 - _DEBUG;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;%(AdditionalIncludeDirectories) ProgramDatabase Disabled @@ -217,7 +217,7 @@ NotUsing Level3 - NDEBUG;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;%(AdditionalIncludeDirectories) Full true @@ -238,7 +238,7 @@ NotUsing Level3 - NDEBUG;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;%(AdditionalIncludeDirectories) Full true @@ -259,7 +259,7 @@ NotUsing Level3 - NDEBUG;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;%(AdditionalIncludeDirectories) Full true diff --git a/build/visual-studio/slang-reflection-test-tool/slang-reflection-test-tool.vcxproj b/build/visual-studio/slang-reflection-test-tool/slang-reflection-test-tool.vcxproj index 047e7764d..6ca0aa3bc 100644 --- a/build/visual-studio/slang-reflection-test-tool/slang-reflection-test-tool.vcxproj +++ b/build/visual-studio/slang-reflection-test-tool/slang-reflection-test-tool.vcxproj @@ -163,7 +163,7 @@ NotUsing Level3 - _DEBUG;SLANG_SHARED_LIBRARY_TOOL;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;SLANG_SHARED_LIBRARY_TOOL;%(PreprocessorDefinitions) ..\..\..;%(AdditionalIncludeDirectories) ProgramDatabase Disabled @@ -182,7 +182,7 @@ NotUsing Level3 - _DEBUG;SLANG_SHARED_LIBRARY_TOOL;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;SLANG_SHARED_LIBRARY_TOOL;%(PreprocessorDefinitions) ..\..\..;%(AdditionalIncludeDirectories) ProgramDatabase Disabled @@ -201,7 +201,7 @@ NotUsing Level3 - _DEBUG;SLANG_SHARED_LIBRARY_TOOL;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;SLANG_SHARED_LIBRARY_TOOL;%(PreprocessorDefinitions) ..\..\..;%(AdditionalIncludeDirectories) ProgramDatabase Disabled @@ -220,7 +220,7 @@ NotUsing Level3 - NDEBUG;SLANG_SHARED_LIBRARY_TOOL;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;SLANG_SHARED_LIBRARY_TOOL;%(PreprocessorDefinitions) ..\..\..;%(AdditionalIncludeDirectories) Full true @@ -242,7 +242,7 @@ NotUsing Level3 - NDEBUG;SLANG_SHARED_LIBRARY_TOOL;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;SLANG_SHARED_LIBRARY_TOOL;%(PreprocessorDefinitions) ..\..\..;%(AdditionalIncludeDirectories) Full true @@ -264,7 +264,7 @@ NotUsing Level3 - NDEBUG;SLANG_SHARED_LIBRARY_TOOL;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;SLANG_SHARED_LIBRARY_TOOL;%(PreprocessorDefinitions) ..\..\..;%(AdditionalIncludeDirectories) Full true diff --git a/build/visual-studio/slang-rt/slang-rt.vcxproj b/build/visual-studio/slang-rt/slang-rt.vcxproj index ed0f60443..31627101c 100644 --- a/build/visual-studio/slang-rt/slang-rt.vcxproj +++ b/build/visual-studio/slang-rt/slang-rt.vcxproj @@ -163,7 +163,7 @@ NotUsing Level4 - _DEBUG;SLANG_RT_DYNAMIC;SLANG_RT_DYNAMIC_EXPORT;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;SLANG_RT_DYNAMIC;SLANG_RT_DYNAMIC_EXPORT;%(PreprocessorDefinitions) ProgramDatabase Disabled false @@ -181,7 +181,7 @@ NotUsing Level4 - _DEBUG;SLANG_RT_DYNAMIC;SLANG_RT_DYNAMIC_EXPORT;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;SLANG_RT_DYNAMIC;SLANG_RT_DYNAMIC_EXPORT;%(PreprocessorDefinitions) ProgramDatabase Disabled false @@ -199,7 +199,7 @@ NotUsing Level4 - _DEBUG;SLANG_RT_DYNAMIC;SLANG_RT_DYNAMIC_EXPORT;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;SLANG_RT_DYNAMIC;SLANG_RT_DYNAMIC_EXPORT;%(PreprocessorDefinitions) ProgramDatabase Disabled false @@ -217,7 +217,7 @@ NotUsing Level4 - NDEBUG;SLANG_RT_DYNAMIC;SLANG_RT_DYNAMIC_EXPORT;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;SLANG_RT_DYNAMIC;SLANG_RT_DYNAMIC_EXPORT;%(PreprocessorDefinitions) Full true true @@ -238,7 +238,7 @@ NotUsing Level4 - NDEBUG;SLANG_RT_DYNAMIC;SLANG_RT_DYNAMIC_EXPORT;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;SLANG_RT_DYNAMIC;SLANG_RT_DYNAMIC_EXPORT;%(PreprocessorDefinitions) Full true true @@ -259,7 +259,7 @@ NotUsing Level4 - NDEBUG;SLANG_RT_DYNAMIC;SLANG_RT_DYNAMIC_EXPORT;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;SLANG_RT_DYNAMIC;SLANG_RT_DYNAMIC_EXPORT;%(PreprocessorDefinitions) Full true true diff --git a/build/visual-studio/slang-test/slang-test.vcxproj b/build/visual-studio/slang-test/slang-test.vcxproj index ae586ca9d..bd70c6520 100644 --- a/build/visual-studio/slang-test/slang-test.vcxproj +++ b/build/visual-studio/slang-test/slang-test.vcxproj @@ -163,7 +163,7 @@ NotUsing Level3 - _DEBUG;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;%(AdditionalIncludeDirectories) ProgramDatabase Disabled @@ -181,7 +181,7 @@ NotUsing Level3 - _DEBUG;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;%(AdditionalIncludeDirectories) ProgramDatabase Disabled @@ -199,7 +199,7 @@ NotUsing Level3 - _DEBUG;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;%(AdditionalIncludeDirectories) ProgramDatabase Disabled @@ -217,7 +217,7 @@ NotUsing Level3 - NDEBUG;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;%(AdditionalIncludeDirectories) Full true @@ -238,7 +238,7 @@ NotUsing Level3 - NDEBUG;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;%(AdditionalIncludeDirectories) Full true @@ -259,7 +259,7 @@ NotUsing Level3 - NDEBUG;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;%(AdditionalIncludeDirectories) Full true diff --git a/build/visual-studio/slang-unit-test-tool/slang-unit-test-tool.vcxproj b/build/visual-studio/slang-unit-test-tool/slang-unit-test-tool.vcxproj index 4944c52e8..53de1e027 100644 --- a/build/visual-studio/slang-unit-test-tool/slang-unit-test-tool.vcxproj +++ b/build/visual-studio/slang-unit-test-tool/slang-unit-test-tool.vcxproj @@ -163,7 +163,7 @@ NotUsing Level3 - _DEBUG;SLANG_SHARED_LIBRARY_TOOL;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;SLANG_SHARED_LIBRARY_TOOL;%(PreprocessorDefinitions) ..\..\..;%(AdditionalIncludeDirectories) ProgramDatabase Disabled @@ -182,7 +182,7 @@ NotUsing Level3 - _DEBUG;SLANG_SHARED_LIBRARY_TOOL;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;SLANG_SHARED_LIBRARY_TOOL;%(PreprocessorDefinitions) ..\..\..;%(AdditionalIncludeDirectories) ProgramDatabase Disabled @@ -201,7 +201,7 @@ NotUsing Level3 - _DEBUG;SLANG_SHARED_LIBRARY_TOOL;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;SLANG_SHARED_LIBRARY_TOOL;%(PreprocessorDefinitions) ..\..\..;%(AdditionalIncludeDirectories) ProgramDatabase Disabled @@ -220,7 +220,7 @@ NotUsing Level3 - NDEBUG;SLANG_SHARED_LIBRARY_TOOL;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;SLANG_SHARED_LIBRARY_TOOL;%(PreprocessorDefinitions) ..\..\..;%(AdditionalIncludeDirectories) Full true @@ -242,7 +242,7 @@ NotUsing Level3 - NDEBUG;SLANG_SHARED_LIBRARY_TOOL;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;SLANG_SHARED_LIBRARY_TOOL;%(PreprocessorDefinitions) ..\..\..;%(AdditionalIncludeDirectories) Full true @@ -264,7 +264,7 @@ NotUsing Level3 - NDEBUG;SLANG_SHARED_LIBRARY_TOOL;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;SLANG_SHARED_LIBRARY_TOOL;%(PreprocessorDefinitions) ..\..\..;%(AdditionalIncludeDirectories) Full true diff --git a/build/visual-studio/slang/slang.vcxproj b/build/visual-studio/slang/slang.vcxproj index 875c6d399..f63d1dde4 100644 --- a/build/visual-studio/slang/slang.vcxproj +++ b/build/visual-studio/slang/slang.vcxproj @@ -163,7 +163,7 @@ NotUsing Level4 - _DEBUG;SLANG_DYNAMIC_EXPORT;SLANG_WITHOUT_EMBEDDED_STD_LIB;SLANG_ENABLE_IR_BREAK_ALLOC=1;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;SLANG_DYNAMIC_EXPORT;SLANG_WITHOUT_EMBEDDED_STD_LIB;SLANG_ENABLE_IR_BREAK_ALLOC=1;%(PreprocessorDefinitions) ..\..\..\external\spirv-headers\include;%(AdditionalIncludeDirectories) ProgramDatabase Disabled @@ -186,7 +186,7 @@ IF EXIST ..\..\..\external\slang-glslang\bin\windows-x86\release\slang-glslang.d NotUsing Level4 - _DEBUG;SLANG_DYNAMIC_EXPORT;SLANG_WITHOUT_EMBEDDED_STD_LIB;SLANG_ENABLE_IR_BREAK_ALLOC=1;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;SLANG_DYNAMIC_EXPORT;SLANG_WITHOUT_EMBEDDED_STD_LIB;SLANG_ENABLE_IR_BREAK_ALLOC=1;%(PreprocessorDefinitions) ..\..\..\external\spirv-headers\include;%(AdditionalIncludeDirectories) ProgramDatabase Disabled @@ -209,7 +209,7 @@ IF EXIST ..\..\..\external\slang-glslang\bin\windows-x64\release\slang-glslang.d NotUsing Level4 - _DEBUG;SLANG_DYNAMIC_EXPORT;SLANG_WITHOUT_EMBEDDED_STD_LIB;SLANG_ENABLE_IR_BREAK_ALLOC=1;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;SLANG_DYNAMIC_EXPORT;SLANG_WITHOUT_EMBEDDED_STD_LIB;SLANG_ENABLE_IR_BREAK_ALLOC=1;%(PreprocessorDefinitions) ..\..\..\external\spirv-headers\include;%(AdditionalIncludeDirectories) ProgramDatabase Disabled @@ -232,7 +232,7 @@ IF EXIST ..\..\..\external\slang-glslang\bin\windows-aarch64\release\slang-glsla NotUsing Level4 - NDEBUG;SLANG_DYNAMIC_EXPORT;SLANG_WITHOUT_EMBEDDED_STD_LIB;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;SLANG_DYNAMIC_EXPORT;SLANG_WITHOUT_EMBEDDED_STD_LIB;%(PreprocessorDefinitions) ..\..\..\external\spirv-headers\include;%(AdditionalIncludeDirectories) Full true @@ -258,7 +258,7 @@ IF EXIST ..\..\..\external\slang-glslang\bin\windows-x86\release\slang-glslang.d NotUsing Level4 - NDEBUG;SLANG_DYNAMIC_EXPORT;SLANG_WITHOUT_EMBEDDED_STD_LIB;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;SLANG_DYNAMIC_EXPORT;SLANG_WITHOUT_EMBEDDED_STD_LIB;%(PreprocessorDefinitions) ..\..\..\external\spirv-headers\include;%(AdditionalIncludeDirectories) Full true @@ -284,7 +284,7 @@ IF EXIST ..\..\..\external\slang-glslang\bin\windows-x64\release\slang-glslang.d NotUsing Level4 - NDEBUG;SLANG_DYNAMIC_EXPORT;SLANG_WITHOUT_EMBEDDED_STD_LIB;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;SLANG_DYNAMIC_EXPORT;SLANG_WITHOUT_EMBEDDED_STD_LIB;%(PreprocessorDefinitions) ..\..\..\external\spirv-headers\include;%(AdditionalIncludeDirectories) Full true diff --git a/build/visual-studio/slangc/slangc.vcxproj b/build/visual-studio/slangc/slangc.vcxproj index f24393153..d2dda42b7 100644 --- a/build/visual-studio/slangc/slangc.vcxproj +++ b/build/visual-studio/slangc/slangc.vcxproj @@ -163,7 +163,7 @@ NotUsing Level3 - _DEBUG;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ProgramDatabase Disabled false @@ -180,7 +180,7 @@ NotUsing Level3 - _DEBUG;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ProgramDatabase Disabled false @@ -197,7 +197,7 @@ NotUsing Level3 - _DEBUG;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ProgramDatabase Disabled false @@ -214,7 +214,7 @@ NotUsing Level3 - NDEBUG;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) Full true true @@ -234,7 +234,7 @@ NotUsing Level3 - NDEBUG;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) Full true true @@ -254,7 +254,7 @@ NotUsing Level3 - NDEBUG;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) Full true true diff --git a/build/visual-studio/slangd/slangd.vcxproj b/build/visual-studio/slangd/slangd.vcxproj index d4105092c..ea4084447 100644 --- a/build/visual-studio/slangd/slangd.vcxproj +++ b/build/visual-studio/slangd/slangd.vcxproj @@ -163,7 +163,7 @@ NotUsing Level3 - _DEBUG;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;%(AdditionalIncludeDirectories) ProgramDatabase Disabled @@ -181,7 +181,7 @@ NotUsing Level3 - _DEBUG;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;%(AdditionalIncludeDirectories) ProgramDatabase Disabled @@ -199,7 +199,7 @@ NotUsing Level3 - _DEBUG;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;%(AdditionalIncludeDirectories) ProgramDatabase Disabled @@ -217,7 +217,7 @@ NotUsing Level3 - NDEBUG;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;%(AdditionalIncludeDirectories) Full true @@ -238,7 +238,7 @@ NotUsing Level3 - NDEBUG;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;%(AdditionalIncludeDirectories) Full true @@ -259,7 +259,7 @@ NotUsing Level3 - NDEBUG;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;%(AdditionalIncludeDirectories) Full true diff --git a/build/visual-studio/test-process/test-process.vcxproj b/build/visual-studio/test-process/test-process.vcxproj index 9b03826ef..67c36f856 100644 --- a/build/visual-studio/test-process/test-process.vcxproj +++ b/build/visual-studio/test-process/test-process.vcxproj @@ -163,7 +163,7 @@ NotUsing Level3 - _DEBUG;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;%(AdditionalIncludeDirectories) ProgramDatabase Disabled @@ -181,7 +181,7 @@ NotUsing Level3 - _DEBUG;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;%(AdditionalIncludeDirectories) ProgramDatabase Disabled @@ -199,7 +199,7 @@ NotUsing Level3 - _DEBUG;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;%(AdditionalIncludeDirectories) ProgramDatabase Disabled @@ -217,7 +217,7 @@ NotUsing Level3 - NDEBUG;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;%(AdditionalIncludeDirectories) Full true @@ -238,7 +238,7 @@ NotUsing Level3 - NDEBUG;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;%(AdditionalIncludeDirectories) Full true @@ -259,7 +259,7 @@ NotUsing Level3 - NDEBUG;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;%(AdditionalIncludeDirectories) Full true diff --git a/build/visual-studio/test-server/test-server.vcxproj b/build/visual-studio/test-server/test-server.vcxproj index 29c160e1e..85af689d9 100644 --- a/build/visual-studio/test-server/test-server.vcxproj +++ b/build/visual-studio/test-server/test-server.vcxproj @@ -163,7 +163,7 @@ NotUsing Level3 - _DEBUG;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;%(AdditionalIncludeDirectories) ProgramDatabase Disabled @@ -181,7 +181,7 @@ NotUsing Level3 - _DEBUG;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;%(AdditionalIncludeDirectories) ProgramDatabase Disabled @@ -199,7 +199,7 @@ NotUsing Level3 - _DEBUG;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;%(AdditionalIncludeDirectories) ProgramDatabase Disabled @@ -217,7 +217,7 @@ NotUsing Level3 - NDEBUG;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;%(AdditionalIncludeDirectories) Full true @@ -238,7 +238,7 @@ NotUsing Level3 - NDEBUG;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;%(AdditionalIncludeDirectories) Full true @@ -259,7 +259,7 @@ NotUsing Level3 - NDEBUG;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;%(AdditionalIncludeDirectories) Full true diff --git a/build/visual-studio/triangle/triangle.vcxproj b/build/visual-studio/triangle/triangle.vcxproj index e1f1cdbaa..57f76d032 100644 --- a/build/visual-studio/triangle/triangle.vcxproj +++ b/build/visual-studio/triangle/triangle.vcxproj @@ -163,7 +163,7 @@ NotUsing Level3 - _DEBUG;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;..\..\..\tools;%(AdditionalIncludeDirectories) ProgramDatabase Disabled @@ -181,7 +181,7 @@ NotUsing Level3 - _DEBUG;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;..\..\..\tools;%(AdditionalIncludeDirectories) ProgramDatabase Disabled @@ -199,7 +199,7 @@ NotUsing Level3 - _DEBUG;%(PreprocessorDefinitions) + _DEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;..\..\..\tools;%(AdditionalIncludeDirectories) ProgramDatabase Disabled @@ -217,7 +217,7 @@ NotUsing Level3 - NDEBUG;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;..\..\..\tools;%(AdditionalIncludeDirectories) Full true @@ -238,7 +238,7 @@ NotUsing Level3 - NDEBUG;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;..\..\..\tools;%(AdditionalIncludeDirectories) Full true @@ -259,7 +259,7 @@ NotUsing Level3 - NDEBUG;%(PreprocessorDefinitions) + NDEBUG;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;NOMINMAX;%(PreprocessorDefinitions) ..\..\..;..\..\..\tools;%(AdditionalIncludeDirectories) Full true -- cgit v1.2.3