From de3622dbd77fa75ba5eb88ae69949338042b669d Mon Sep 17 00:00:00 2001 From: Travis Nickles Date: Wed, 10 Oct 2018 00:33:55 -0500 Subject: [PATCH 1/2] Added linker optimization flag as recommended by compiler --- sys/ViGEmBus.vcxproj | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/ViGEmBus.vcxproj b/sys/ViGEmBus.vcxproj index feed3c7..7a9e4b7 100644 --- a/sys/ViGEmBus.vcxproj +++ b/sys/ViGEmBus.vcxproj @@ -147,6 +147,7 @@ $(DDK_LIB_PATH)ntstrsafe.lib;$(DDK_LIB_PATH)wdmsec.lib;%(AdditionalDependencies) + UseLinkTimeCodeGeneration true From 643e4b3c77fb63ff7cb1634f97963011b8e1d512 Mon Sep 17 00:00:00 2001 From: Travis Nickles Date: Wed, 10 Oct 2018 01:34:02 -0500 Subject: [PATCH 2/2] Make sure to add linker flag to release build as well --- sys/ViGEmBus.vcxproj | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/ViGEmBus.vcxproj b/sys/ViGEmBus.vcxproj index 7a9e4b7..a693c57 100644 --- a/sys/ViGEmBus.vcxproj +++ b/sys/ViGEmBus.vcxproj @@ -161,6 +161,7 @@ $(DDK_LIB_PATH)ntstrsafe.lib;$(DDK_LIB_PATH)wdmsec.lib;%(AdditionalDependencies) + UseLinkTimeCodeGeneration Speed