From 6e193eb14137a6c4ad701560ebbc6db6b2af99ef Mon Sep 17 00:00:00 2001 From: Chun-wei Fan Date: Wed, 18 May 2022 11:40:59 +0800 Subject: [PATCH] win32/vs10/*.vcxproj: Consolidate project configs Like what was done in the *.vcxprojin templates, consolidate project configs that are repetitive, and use the 'Condition=' directive to distinguish between configuration and/or target platform differences. --- win32/vs10/gtk-builder-tool.vcxproj | 145 +++++---------------- win32/vs10/gtk-encode-symbolic-svg.vcxproj | 145 +++++---------------- win32/vs10/gtk-query-settings.vcxproj | 145 +++++---------------- win32/vs10/gtk-update-icon-cache.vcxproj | 145 +++++---------------- win32/vs10/gtk3-install.vcxproj | 71 +--------- win32/vs10/gtk3-introspect.vcxproj | 57 +------- win32/vs10/gtk3-prebuild.vcxproj | 94 +++---------- 7 files changed, 151 insertions(+), 651 deletions(-) diff --git a/win32/vs10/gtk-builder-tool.vcxproj b/win32/vs10/gtk-builder-tool.vcxproj index ee295b2912..12420c3377 100644 --- a/win32/vs10/gtk-builder-tool.vcxproj +++ b/win32/vs10/gtk-builder-tool.vcxproj @@ -24,142 +24,61 @@ Win32Proj - - Application - MultiByte - true - v100 - - - Application - MultiByte - v100 - - - Application - MultiByte - true - v100 - - + Application MultiByte + true v100 - - - - - - - - - - - - - + - true - false - true - false + true + false - - - Disabled - $(BaseConfigIncludes);%(AdditionalIncludeDirectories) - _DEBUG;%(PreprocessorDefinitions) - true - EnableFastChecks - MultiThreadedDebugDLL - - - Level3 - EditAndContinue - - - %(AdditionalDependencies) - true - Console - MachineX86 - - - - - MaxSpeed - $(BaseConfigIncludes);%(AdditionalIncludeDirectories) - true - %(PreprocessorDefinitions) - MultiThreadedDLL - true - - - Level3 - ProgramDatabase - - - %(AdditionalDependencies) - true - Console - true - true - MachineX86 - - - + - X64 + X64 - Disabled $(BaseConfigIncludes);%(AdditionalIncludeDirectories) - _DEBUG;%(PreprocessorDefinitions) - true - EnableFastChecks - MultiThreadedDebugDLL - - + Level3 - ProgramDatabase + + + Disabled + _DEBUG;%(PreprocessorDefinitions) + true + EnableFastChecks + MultiThreadedDebugDLL + EditAndContinue + ProgramDatabase + + + MaxSpeed + true + %(PreprocessorDefinitions) + MultiThreadedDLL + true + ProgramDatabase %(AdditionalDependencies) true Console - MachineX64 - - - - - X64 - - - MaxSpeed - $(BaseConfigIncludes);%(AdditionalIncludeDirectories) - true - %(PreprocessorDefinitions) - MultiThreadedDLL - true - - - Level3 - ProgramDatabase - - - %(AdditionalDependencies) - true - Console - true - true - MachineX64 + + + true + true + + MachineX86 + MachineX64 diff --git a/win32/vs10/gtk-encode-symbolic-svg.vcxproj b/win32/vs10/gtk-encode-symbolic-svg.vcxproj index ca69b4e794..fcd0a6df75 100644 --- a/win32/vs10/gtk-encode-symbolic-svg.vcxproj +++ b/win32/vs10/gtk-encode-symbolic-svg.vcxproj @@ -24,142 +24,61 @@ Win32Proj - - Application - MultiByte - true - v100 - - - Application - MultiByte - v100 - - - Application - MultiByte - true - v100 - - + Application MultiByte + true v100 - - - - - - - - - - - - - + - true - false - true - false + true + false - - - Disabled - $(GdkBaseIncludes);%(AdditionalIncludeDirectories) - _DEBUG;%(PreprocessorDefinitions) - true - EnableFastChecks - MultiThreadedDebugDLL - - - Level3 - EditAndContinue - - - %(AdditionalDependencies) - true - Console - MachineX86 - - - - - MaxSpeed - $(GdkBaseIncludes);%(AdditionalIncludeDirectories) - true - %(PreprocessorDefinitions) - MultiThreadedDLL - true - - - Level3 - ProgramDatabase - - - %(AdditionalDependencies) - true - Console - true - true - MachineX86 - - - + - X64 + X64 - Disabled $(GdkBaseIncludes);%(AdditionalIncludeDirectories) - _DEBUG;%(PreprocessorDefinitions) - true - EnableFastChecks - MultiThreadedDebugDLL - - + Level3 - ProgramDatabase + + + Disabled + _DEBUG;%(PreprocessorDefinitions) + true + EnableFastChecks + MultiThreadedDebugDLL + EditAndContinue + ProgramDatabase + + + MaxSpeed + true + %(PreprocessorDefinitions) + MultiThreadedDLL + true + ProgramDatabase %(AdditionalDependencies) true Console - MachineX64 - - - - - X64 - - - MaxSpeed - $(GdkBaseIncludes);%(AdditionalIncludeDirectories) - true - %(PreprocessorDefinitions) - MultiThreadedDLL - true - - - Level3 - ProgramDatabase - - - %(AdditionalDependencies) - true - Console - true - true - MachineX64 + + + true + true + + MachineX86 + MachineX64 diff --git a/win32/vs10/gtk-query-settings.vcxproj b/win32/vs10/gtk-query-settings.vcxproj index 207b1ba13e..610b04815f 100644 --- a/win32/vs10/gtk-query-settings.vcxproj +++ b/win32/vs10/gtk-query-settings.vcxproj @@ -24,142 +24,61 @@ Win32Proj - - Application - MultiByte - true - v100 - - - Application - MultiByte - v100 - - - Application - MultiByte - true - v100 - - + Application MultiByte + true v100 - - - - - - - - - - - - - + - true - false - true - false + true + false - - - Disabled - $(BaseConfigIncludes);%(AdditionalIncludeDirectories) - _DEBUG;%(PreprocessorDefinitions) - true - EnableFastChecks - MultiThreadedDebugDLL - - - Level3 - EditAndContinue - - - %(AdditionalDependencies) - true - Console - MachineX86 - - - - - MaxSpeed - $(BaseConfigIncludes);%(AdditionalIncludeDirectories) - true - %(PreprocessorDefinitions) - MultiThreadedDLL - true - - - Level3 - ProgramDatabase - - - %(AdditionalDependencies) - true - Console - true - true - MachineX86 - - - + - X64 + X64 - Disabled $(BaseConfigIncludes);%(AdditionalIncludeDirectories) - _DEBUG;%(PreprocessorDefinitions) - true - EnableFastChecks - MultiThreadedDebugDLL - - + Level3 - ProgramDatabase + + + Disabled + _DEBUG;%(PreprocessorDefinitions) + true + EnableFastChecks + MultiThreadedDebugDLL + EditAndContinue + ProgramDatabase + + + MaxSpeed + true + %(PreprocessorDefinitions) + MultiThreadedDLL + true + ProgramDatabase %(AdditionalDependencies) true Console - MachineX64 - - - - - X64 - - - MaxSpeed - $(BaseConfigIncludes);%(AdditionalIncludeDirectories) - true - %(PreprocessorDefinitions) - MultiThreadedDLL - true - - - Level3 - ProgramDatabase - - - %(AdditionalDependencies) - true - Console - true - true - MachineX64 + + + true + true + + MachineX86 + MachineX64 diff --git a/win32/vs10/gtk-update-icon-cache.vcxproj b/win32/vs10/gtk-update-icon-cache.vcxproj index 567971b9cf..f6ea9eb54f 100644 --- a/win32/vs10/gtk-update-icon-cache.vcxproj +++ b/win32/vs10/gtk-update-icon-cache.vcxproj @@ -24,142 +24,61 @@ Win32Proj - - Application - MultiByte - true - v100 - - - Application - MultiByte - v100 - - - Application - MultiByte - true - v100 - - + Application MultiByte + true v100 - - - - - - - - - - - - - + - true - false - true - false + true + false - - - Disabled - $(BaseConfigIncludes);%(AdditionalIncludeDirectories) - _DEBUG;%(PreprocessorDefinitions) - true - EnableFastChecks - MultiThreadedDebugDLL - - - Level3 - EditAndContinue - - - %(AdditionalDependencies) - true - Console - MachineX86 - - - - - MaxSpeed - $(BaseConfigIncludes);%(AdditionalIncludeDirectories) - true - %(PreprocessorDefinitions) - MultiThreadedDLL - true - - - Level3 - ProgramDatabase - - - %(AdditionalDependencies) - true - Console - true - true - MachineX86 - - - + - X64 + X64 - Disabled $(BaseConfigIncludes);%(AdditionalIncludeDirectories) - _DEBUG;%(PreprocessorDefinitions) - true - EnableFastChecks - MultiThreadedDebugDLL - - + Level3 - ProgramDatabase + + + Disabled + _DEBUG;%(PreprocessorDefinitions) + true + EnableFastChecks + MultiThreadedDebugDLL + EditAndContinue + ProgramDatabase + + + MaxSpeed + true + %(PreprocessorDefinitions) + MultiThreadedDLL + true + ProgramDatabase %(AdditionalDependencies) true Console - MachineX64 - - - - - X64 - - - MaxSpeed - $(BaseConfigIncludes);%(AdditionalIncludeDirectories) - true - %(PreprocessorDefinitions) - MultiThreadedDLL - true - - - Level3 - ProgramDatabase - - - %(AdditionalDependencies) - true - Console - true - true - MachineX64 + + + true + true + + MachineX86 + MachineX64 diff --git a/win32/vs10/gtk3-install.vcxproj b/win32/vs10/gtk3-install.vcxproj index 0409671572..588515d8aa 100644 --- a/win32/vs10/gtk3-install.vcxproj +++ b/win32/vs10/gtk3-install.vcxproj @@ -40,46 +40,7 @@ Win32Proj - - Makefile - MultiByte - true - v100 - - - Makefile - MultiByte - v100 - - - Makefile - MultiByte - true - v100 - - - Makefile - MultiByte - v100 - - - Makefile - MultiByte - true - v100 - - - Makefile - MultiByte - v100 - - - Makefile - MultiByte - true - v100 - - + Makefile MultiByte v100 @@ -87,35 +48,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + diff --git a/win32/vs10/gtk3-introspect.vcxproj b/win32/vs10/gtk3-introspect.vcxproj index 7905684ed2..1a4409aa16 100644 --- a/win32/vs10/gtk3-introspect.vcxproj +++ b/win32/vs10/gtk3-introspect.vcxproj @@ -23,69 +23,20 @@ gtk3introspect - - Makefile - true - MultiByte - v100 - - - Makefile - false - true - MultiByte - v100 - - + Makefile MultiByte v100 - - Makefile - MultiByte - true - v100 - - - - - - - - - - - - - - + - - $(GtkIntrospectNMakeCmd) $(IntrospectPythonParam) introspect - $(GtkIntrospectNMakeCmd) $(IntrospectPythonParam) introspect-clean introspect - $(GtkIntrospectNMakeCmd) $(IntrospectPythonParam) introspect-clean - $(GtkIntrospectBuiltFiles) - - - $(GtkIntrospectNMakeCmd) $(IntrospectPythonParam) introspect - $(GtkIntrospectNMakeCmd) $(IntrospectPythonParam) introspect-clean introspect - $(GtkIntrospectNMakeCmd) $(IntrospectPythonParam) introspect-clean - $(GtkIntrospectBuiltFiles) - - - $(GtkIntrospectNMakeCmd) $(IntrospectPythonParam) introspect - $(GtkIntrospectNMakeCmd) $(IntrospectPythonParam) introspect-clean introspect - $(GtkIntrospectNMakeCmd) $(IntrospectPythonParam) introspect-clean - $(GtkIntrospectBuiltFiles) - - + $(GtkIntrospectNMakeCmd) $(IntrospectPythonParam) introspect $(GtkIntrospectNMakeCmd) $(IntrospectPythonParam) introspect-clean introspect $(GtkIntrospectNMakeCmd) $(IntrospectPythonParam) introspect-clean @@ -104,4 +55,4 @@ - \ No newline at end of file + diff --git a/win32/vs10/gtk3-prebuild.vcxproj b/win32/vs10/gtk3-prebuild.vcxproj index dc3136275f..a0b5829ae8 100644 --- a/win32/vs10/gtk3-prebuild.vcxproj +++ b/win32/vs10/gtk3-prebuild.vcxproj @@ -40,46 +40,7 @@ Win32Proj - - Makefile - MultiByte - true - v100 - - - Makefile - MultiByte - v100 - - - Makefile - MultiByte - true - v100 - - - Makefile - MultiByte - v100 - - - Makefile - MultiByte - true - v100 - - - Makefile - MultiByte - v100 - - - Makefile - MultiByte - true - v100 - - + Makefile MultiByte v100 @@ -87,52 +48,31 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - $(GenerateRequiredSourcesBase) CFG=Debug BROADWAY=1 $(IntrospectPythonParam) generate-base-sources - $(GenerateRequiredSourcesBase) CFG=Release BROADWAY=1 $(IntrospectPythonParam) generate-base-sources + $(GenerateRequiredSourcesBase) CFG=$(Configuration) $(IntrospectPythonParam) generate-base-sources - $(GenerateRequiredSourcesBase) CFG=$(Configuration) $(IntrospectPythonParam) generate-base-sources - $(GenerateRequiredSourcesBase) CFG=Debug BROADWAY=1 $(IntrospectPythonParam) clean generate-base-sources - $(GenerateRequiredSourcesBase) CFG=Release BROADWAY=1 $(IntrospectPythonParam) clean generate-base-sources $(GenerateRequiredSourcesBase) CFG=$(Configuration) $(IntrospectPythonParam) clean generate-base-sources - $(GenerateRequiredSourcesBase) CFG=$(Configuration) $(IntrospectPythonParam) clean generate-base-sources - $(GenerateRequiredSourcesBase) CFG=Debug BROADWAY=1 $(IntrospectPythonParam) clean - $(GenerateRequiredSourcesBase) CFG=Release BROADWAY=1 $(IntrospectPythonParam) clean $(GenerateRequiredSourcesBase) CFG=$(Configuration) $(IntrospectPythonParam) clean + + + $(GenerateRequiredSourcesBase) CFG=$(Configuration) $(IntrospectPythonParam) generate-base-sources + $(GenerateRequiredSourcesBase) CFG=$(Configuration) $(IntrospectPythonParam) clean generate-base-sources $(GenerateRequiredSourcesBase) CFG=$(Configuration) $(IntrospectPythonParam) clean + + + $(GenerateRequiredSourcesBase) CFG=Debug BROADWAY=1 $(IntrospectPythonParam) generate-base-sources + $(GenerateRequiredSourcesBase) CFG=Debug BROADWAY=1 $(IntrospectPythonParam) clean generate-base-sources + $(GenerateRequiredSourcesBase) CFG=Debug BROADWAY=1 $(IntrospectPythonParam) clean + + + $(GenerateRequiredSourcesBase) CFG=Release BROADWAY=1 $(IntrospectPythonParam) generate-base-sources + $(GenerateRequiredSourcesBase) CFG=Release BROADWAY=1 $(IntrospectPythonParam) clean generate-base-sources + $(GenerateRequiredSourcesBase) CFG=Release BROADWAY=1 $(IntrospectPythonParam) clean