From 58f1a8e91645c4486edb6f084a70089810debb9d Mon Sep 17 00:00:00 2001
From: Arjun Balgovind <32061677+arjunbalgovind@users.noreply.github.com>
Date: Tue, 12 May 2020 20:52:02 -0700
Subject: [PATCH] Fix failing build pipeline (#2932)
* Add extra libpath load statement
* Add QSpectre flags on Release
* Revert cmd change
* Added spectre flag for debug
* added flag for more projects
---
src/action_runner/action_runner.vcxproj | 2 ++
src/common/UnitTests-CommonLib/UnitTests-CommonLib.vcxproj | 2 ++
src/common/common-md-flag/common-md-flag.vcxproj | 2 ++
src/common/common.vcxproj | 2 ++
src/common/interop/interop.vcxproj | 2 ++
src/common/notifications/notifications_dll.vcxproj | 2 ++
src/common/notifications_winrt/notifications.vcxproj | 6 ++++++
src/common/os-detection/os-detection.vcxproj | 2 ++
src/common/updating/updating.vcxproj | 2 ++
src/modules/example_powertoy/example_powertoy.vcxproj | 2 ++
src/modules/fancyzones/dll/FancyZonesModule.vcxproj | 2 ++
src/modules/fancyzones/lib/FancyZonesLib.vcxproj | 2 ++
src/modules/fancyzones/tests/UnitTests/UnitTests.vcxproj | 2 ++
src/modules/imageresizer/dll/ImageResizerExt.vcxproj | 2 ++
.../keyboardmanager/common/KeyboardManagerCommon.vcxproj | 2 ++
src/modules/keyboardmanager/dll/KeyboardManager.vcxproj | 2 ++
src/modules/keyboardmanager/ui/KeyboardManagerUI.vcxproj | 2 ++
.../launcher/Microsoft.Launcher/Microsoft.Launcher.vcxproj | 2 ++
.../Microsoft.Launcher/Microsoft.Launcher.vcxproj.filters | 3 +++
src/modules/powerrename/UWPui/PowerRenameUWPUI.vcxproj | 2 ++
src/modules/powerrename/dll/PowerRenameExt.vcxproj | 2 ++
src/modules/powerrename/lib/PowerRenameLib.vcxproj | 2 ++
src/modules/powerrename/testapp/PowerRenameTest.vcxproj | 2 ++
src/modules/powerrename/ui/PowerRenameUI.vcxproj | 2 ++
.../powerrename/unittests/PowerRenameLibUnitTests.vcxproj | 2 ++
src/modules/previewpane/powerpreview/powerpreview.vcxproj | 2 ++
.../previewpane/powerpreviewTest/powerpreviewTest.vcxproj | 2 ++
src/modules/shortcut_guide/shortcut_guide.vcxproj | 2 ++
src/runner/runner.vcxproj | 2 ++
src/settings/settings.vcxproj | 2 ++
.../ModuleTemplate/ModuleTemplateCompileTest.vcxproj | 2 ++
31 files changed, 67 insertions(+)
diff --git a/src/action_runner/action_runner.vcxproj b/src/action_runner/action_runner.vcxproj
index cfd48ad7ee..743b494301 100644
--- a/src/action_runner/action_runner.vcxproj
+++ b/src/action_runner/action_runner.vcxproj
@@ -45,6 +45,7 @@
true
v142
Unicode
+ Spectre
Application
@@ -52,6 +53,7 @@
v142
true
Unicode
+ Spectre
diff --git a/src/common/UnitTests-CommonLib/UnitTests-CommonLib.vcxproj b/src/common/UnitTests-CommonLib/UnitTests-CommonLib.vcxproj
index 5cca53553a..b91843919a 100644
--- a/src/common/UnitTests-CommonLib/UnitTests-CommonLib.vcxproj
+++ b/src/common/UnitTests-CommonLib/UnitTests-CommonLib.vcxproj
@@ -26,6 +26,7 @@
v142
Unicode
false
+ Spectre
DynamicLibrary
@@ -34,6 +35,7 @@
true
Unicode
false
+ Spectre
diff --git a/src/common/common-md-flag/common-md-flag.vcxproj b/src/common/common-md-flag/common-md-flag.vcxproj
index 61081ce3c0..7a567a280c 100644
--- a/src/common/common-md-flag/common-md-flag.vcxproj
+++ b/src/common/common-md-flag/common-md-flag.vcxproj
@@ -23,6 +23,7 @@
true
v142
Unicode
+ Spectre
StaticLibrary
@@ -30,6 +31,7 @@
v142
true
Unicode
+ Spectre
diff --git a/src/common/common.vcxproj b/src/common/common.vcxproj
index 7ab6c2b0a1..748d538476 100644
--- a/src/common/common.vcxproj
+++ b/src/common/common.vcxproj
@@ -36,6 +36,7 @@
true
v142
Unicode
+ Spectre
StaticLibrary
@@ -43,6 +44,7 @@
v142
true
Unicode
+ Spectre
diff --git a/src/common/interop/interop.vcxproj b/src/common/interop/interop.vcxproj
index 143a0755d9..40086cd2c6 100644
--- a/src/common/interop/interop.vcxproj
+++ b/src/common/interop/interop.vcxproj
@@ -31,6 +31,7 @@
v142
true
Unicode
+ Spectre
DynamicLibrary
@@ -38,6 +39,7 @@
v142
true
Unicode
+ Spectre
diff --git a/src/common/notifications/notifications_dll.vcxproj b/src/common/notifications/notifications_dll.vcxproj
index 689d05fa59..edfbdc3b10 100644
--- a/src/common/notifications/notifications_dll.vcxproj
+++ b/src/common/notifications/notifications_dll.vcxproj
@@ -45,6 +45,7 @@
true
v142
Unicode
+ Spectre
DynamicLibrary
@@ -52,6 +53,7 @@
v142
true
Unicode
+ Spectre
diff --git a/src/common/notifications_winrt/notifications.vcxproj b/src/common/notifications_winrt/notifications.vcxproj
index 95d699b4a6..07908e0ef2 100644
--- a/src/common/notifications_winrt/notifications.vcxproj
+++ b/src/common/notifications_winrt/notifications.vcxproj
@@ -61,6 +61,12 @@
true
false
+
+ Spectre
+
+
+ Spectre
+
diff --git a/src/common/os-detection/os-detection.vcxproj b/src/common/os-detection/os-detection.vcxproj
index 5f33d9b653..b1c9bcd8f4 100644
--- a/src/common/os-detection/os-detection.vcxproj
+++ b/src/common/os-detection/os-detection.vcxproj
@@ -23,6 +23,7 @@
true
v142
Unicode
+ Spectre
DynamicLibrary
@@ -30,6 +31,7 @@
v142
true
Unicode
+ Spectre
diff --git a/src/common/updating/updating.vcxproj b/src/common/updating/updating.vcxproj
index 24f332d921..19091f9e4f 100644
--- a/src/common/updating/updating.vcxproj
+++ b/src/common/updating/updating.vcxproj
@@ -46,6 +46,7 @@
true
v142
Unicode
+ Spectre
StaticLibrary
@@ -53,6 +54,7 @@
v142
true
Unicode
+ Spectre
diff --git a/src/modules/example_powertoy/example_powertoy.vcxproj b/src/modules/example_powertoy/example_powertoy.vcxproj
index 78506a8057..0cdf93bedd 100644
--- a/src/modules/example_powertoy/example_powertoy.vcxproj
+++ b/src/modules/example_powertoy/example_powertoy.vcxproj
@@ -24,6 +24,7 @@
true
v142
Unicode
+ Spectre
DynamicLibrary
@@ -31,6 +32,7 @@
v142
true
Unicode
+ Spectre
diff --git a/src/modules/fancyzones/dll/FancyZonesModule.vcxproj b/src/modules/fancyzones/dll/FancyZonesModule.vcxproj
index f873bf2a62..2961cbba83 100644
--- a/src/modules/fancyzones/dll/FancyZonesModule.vcxproj
+++ b/src/modules/fancyzones/dll/FancyZonesModule.vcxproj
@@ -25,6 +25,7 @@
true
v142
Unicode
+ Spectre
DynamicLibrary
@@ -32,6 +33,7 @@
v142
true
Unicode
+ Spectre
diff --git a/src/modules/fancyzones/lib/FancyZonesLib.vcxproj b/src/modules/fancyzones/lib/FancyZonesLib.vcxproj
index 7abb16def1..f879cf0cd6 100644
--- a/src/modules/fancyzones/lib/FancyZonesLib.vcxproj
+++ b/src/modules/fancyzones/lib/FancyZonesLib.vcxproj
@@ -25,6 +25,7 @@
true
v142
Unicode
+ Spectre
StaticLibrary
@@ -32,6 +33,7 @@
v142
true
Unicode
+ Spectre
diff --git a/src/modules/fancyzones/tests/UnitTests/UnitTests.vcxproj b/src/modules/fancyzones/tests/UnitTests/UnitTests.vcxproj
index 80b18ec904..d6a87a6a25 100644
--- a/src/modules/fancyzones/tests/UnitTests/UnitTests.vcxproj
+++ b/src/modules/fancyzones/tests/UnitTests/UnitTests.vcxproj
@@ -27,6 +27,7 @@
v142
Unicode
false
+ Spectre
DynamicLibrary
@@ -35,6 +36,7 @@
true
Unicode
false
+ Spectre
diff --git a/src/modules/imageresizer/dll/ImageResizerExt.vcxproj b/src/modules/imageresizer/dll/ImageResizerExt.vcxproj
index a500b2c7ce..6054cf5765 100644
--- a/src/modules/imageresizer/dll/ImageResizerExt.vcxproj
+++ b/src/modules/imageresizer/dll/ImageResizerExt.vcxproj
@@ -46,6 +46,7 @@
Static
v142
Unicode
+ Spectre
DynamicLibrary
@@ -53,6 +54,7 @@
Static
v142
Unicode
+ Spectre
diff --git a/src/modules/keyboardmanager/common/KeyboardManagerCommon.vcxproj b/src/modules/keyboardmanager/common/KeyboardManagerCommon.vcxproj
index 7a9aab4897..5c5ed1ce2c 100644
--- a/src/modules/keyboardmanager/common/KeyboardManagerCommon.vcxproj
+++ b/src/modules/keyboardmanager/common/KeyboardManagerCommon.vcxproj
@@ -22,6 +22,7 @@
true
v142
Unicode
+ Spectre
StaticLibrary
@@ -29,6 +30,7 @@
v142
true
Unicode
+ Spectre
diff --git a/src/modules/keyboardmanager/dll/KeyboardManager.vcxproj b/src/modules/keyboardmanager/dll/KeyboardManager.vcxproj
index dcc0fa607f..4ea51acaa1 100644
--- a/src/modules/keyboardmanager/dll/KeyboardManager.vcxproj
+++ b/src/modules/keyboardmanager/dll/KeyboardManager.vcxproj
@@ -24,6 +24,7 @@
true
v142
Unicode
+ Spectre
DynamicLibrary
@@ -31,6 +32,7 @@
v142
true
Unicode
+ Spectre
diff --git a/src/modules/keyboardmanager/ui/KeyboardManagerUI.vcxproj b/src/modules/keyboardmanager/ui/KeyboardManagerUI.vcxproj
index 83cbacfb26..ffc676a7ab 100644
--- a/src/modules/keyboardmanager/ui/KeyboardManagerUI.vcxproj
+++ b/src/modules/keyboardmanager/ui/KeyboardManagerUI.vcxproj
@@ -26,6 +26,7 @@
true
v142
Unicode
+ Spectre
StaticLibrary
@@ -33,6 +34,7 @@
v142
true
Unicode
+ Spectre
diff --git a/src/modules/launcher/Microsoft.Launcher/Microsoft.Launcher.vcxproj b/src/modules/launcher/Microsoft.Launcher/Microsoft.Launcher.vcxproj
index 2101d356a2..9fb9b43951 100644
--- a/src/modules/launcher/Microsoft.Launcher/Microsoft.Launcher.vcxproj
+++ b/src/modules/launcher/Microsoft.Launcher/Microsoft.Launcher.vcxproj
@@ -25,6 +25,7 @@
true
v142
Unicode
+ Spectre
DynamicLibrary
@@ -32,6 +33,7 @@
v142
true
Unicode
+ Spectre
diff --git a/src/modules/launcher/Microsoft.Launcher/Microsoft.Launcher.vcxproj.filters b/src/modules/launcher/Microsoft.Launcher/Microsoft.Launcher.vcxproj.filters
index bb7d8ab134..8b191a8c0c 100644
--- a/src/modules/launcher/Microsoft.Launcher/Microsoft.Launcher.vcxproj.filters
+++ b/src/modules/launcher/Microsoft.Launcher/Microsoft.Launcher.vcxproj.filters
@@ -13,4 +13,7 @@
+
+
+
\ No newline at end of file
diff --git a/src/modules/powerrename/UWPui/PowerRenameUWPUI.vcxproj b/src/modules/powerrename/UWPui/PowerRenameUWPUI.vcxproj
index 63c22a9d8d..04754080d8 100644
--- a/src/modules/powerrename/UWPui/PowerRenameUWPUI.vcxproj
+++ b/src/modules/powerrename/UWPui/PowerRenameUWPUI.vcxproj
@@ -24,6 +24,7 @@
true
v142
Unicode
+ Spectre
Application
@@ -31,6 +32,7 @@
v142
true
Unicode
+ Spectre
diff --git a/src/modules/powerrename/dll/PowerRenameExt.vcxproj b/src/modules/powerrename/dll/PowerRenameExt.vcxproj
index 1bc1280159..66354d7ba5 100644
--- a/src/modules/powerrename/dll/PowerRenameExt.vcxproj
+++ b/src/modules/powerrename/dll/PowerRenameExt.vcxproj
@@ -44,6 +44,7 @@
true
v142
Unicode
+ Spectre
DynamicLibrary
@@ -51,6 +52,7 @@
v142
true
Unicode
+ Spectre
diff --git a/src/modules/powerrename/lib/PowerRenameLib.vcxproj b/src/modules/powerrename/lib/PowerRenameLib.vcxproj
index 14415515b9..604e389b3f 100644
--- a/src/modules/powerrename/lib/PowerRenameLib.vcxproj
+++ b/src/modules/powerrename/lib/PowerRenameLib.vcxproj
@@ -44,6 +44,7 @@
true
v142
Unicode
+ Spectre
StaticLibrary
@@ -51,6 +52,7 @@
v142
true
Unicode
+ Spectre
diff --git a/src/modules/powerrename/testapp/PowerRenameTest.vcxproj b/src/modules/powerrename/testapp/PowerRenameTest.vcxproj
index 0554cf971f..e47935d3f0 100644
--- a/src/modules/powerrename/testapp/PowerRenameTest.vcxproj
+++ b/src/modules/powerrename/testapp/PowerRenameTest.vcxproj
@@ -45,6 +45,7 @@
true
v142
Unicode
+ Spectre
Application
@@ -52,6 +53,7 @@
v142
true
Unicode
+ Spectre
diff --git a/src/modules/powerrename/ui/PowerRenameUI.vcxproj b/src/modules/powerrename/ui/PowerRenameUI.vcxproj
index 683d6e499a..fc4e9c6d6d 100644
--- a/src/modules/powerrename/ui/PowerRenameUI.vcxproj
+++ b/src/modules/powerrename/ui/PowerRenameUI.vcxproj
@@ -24,6 +24,7 @@
true
v142
Unicode
+ Spectre
StaticLibrary
@@ -31,6 +32,7 @@
v142
true
Unicode
+ Spectre
diff --git a/src/modules/powerrename/unittests/PowerRenameLibUnitTests.vcxproj b/src/modules/powerrename/unittests/PowerRenameLibUnitTests.vcxproj
index 6bb06152dc..e78220e023 100644
--- a/src/modules/powerrename/unittests/PowerRenameLibUnitTests.vcxproj
+++ b/src/modules/powerrename/unittests/PowerRenameLibUnitTests.vcxproj
@@ -48,6 +48,7 @@
v142
Unicode
false
+ Spectre
DynamicLibrary
@@ -56,6 +57,7 @@
true
Unicode
false
+ Spectre
diff --git a/src/modules/previewpane/powerpreview/powerpreview.vcxproj b/src/modules/previewpane/powerpreview/powerpreview.vcxproj
index d8ec98a311..4d4dd9a13d 100644
--- a/src/modules/previewpane/powerpreview/powerpreview.vcxproj
+++ b/src/modules/previewpane/powerpreview/powerpreview.vcxproj
@@ -25,6 +25,7 @@
true
v142
Unicode
+ Spectre
DynamicLibrary
@@ -32,6 +33,7 @@
v142
true
Unicode
+ Spectre
diff --git a/src/modules/previewpane/powerpreviewTest/powerpreviewTest.vcxproj b/src/modules/previewpane/powerpreviewTest/powerpreviewTest.vcxproj
index 6098cce8e0..4aa72b6a33 100644
--- a/src/modules/previewpane/powerpreviewTest/powerpreviewTest.vcxproj
+++ b/src/modules/previewpane/powerpreviewTest/powerpreviewTest.vcxproj
@@ -49,6 +49,7 @@
v142
Unicode
false
+ Spectre
DynamicLibrary
@@ -57,6 +58,7 @@
true
Unicode
false
+ Spectre
diff --git a/src/modules/shortcut_guide/shortcut_guide.vcxproj b/src/modules/shortcut_guide/shortcut_guide.vcxproj
index 8d2be26238..4dde3f37b6 100644
--- a/src/modules/shortcut_guide/shortcut_guide.vcxproj
+++ b/src/modules/shortcut_guide/shortcut_guide.vcxproj
@@ -24,6 +24,7 @@
true
v142
Unicode
+ Spectre
DynamicLibrary
@@ -31,6 +32,7 @@
v142
true
Unicode
+ Spectre
diff --git a/src/runner/runner.vcxproj b/src/runner/runner.vcxproj
index e70b7b92e2..daae00d685 100644
--- a/src/runner/runner.vcxproj
+++ b/src/runner/runner.vcxproj
@@ -25,6 +25,7 @@
true
v142
Unicode
+ Spectre
Application
@@ -32,6 +33,7 @@
v142
true
Unicode
+ Spectre
diff --git a/src/settings/settings.vcxproj b/src/settings/settings.vcxproj
index f654c9b6c6..9d303db902 100644
--- a/src/settings/settings.vcxproj
+++ b/src/settings/settings.vcxproj
@@ -24,6 +24,7 @@
true
v142
Unicode
+ Spectre
Application
@@ -31,6 +32,7 @@
v142
true
Unicode
+ Spectre
diff --git a/tools/project_template/ModuleTemplate/ModuleTemplateCompileTest.vcxproj b/tools/project_template/ModuleTemplate/ModuleTemplateCompileTest.vcxproj
index 9fde29ba69..04a4626120 100644
--- a/tools/project_template/ModuleTemplate/ModuleTemplateCompileTest.vcxproj
+++ b/tools/project_template/ModuleTemplate/ModuleTemplateCompileTest.vcxproj
@@ -25,6 +25,7 @@
true
v142
Unicode
+ Spectre
DynamicLibrary
@@ -32,6 +33,7 @@
v142
true
Unicode
+ Spectre