From 3cb560c7ab2f0c90cf391e62fba6c4d31647e4ec Mon Sep 17 00:00:00 2001 From: James Crook Date: Fri, 10 Jun 2016 13:42:17 +0100 Subject: [PATCH] Precompiled headers for Windows release builds too. Faster building of release builds on Windows. This force-includes AudacityHeaders.h too. We didn't used to do this because it could hide include file mistakes which would break the build on Linux. We could build the Windows release version to check that includes hadn't been missed out. Now that we have automated Travis builds on Linux we have a better way to check Linux builds aren't broken, and can have faster Windows building of release. --- win/Projects/Audacity/Audacity.vcxproj | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/win/Projects/Audacity/Audacity.vcxproj b/win/Projects/Audacity/Audacity.vcxproj index d83ee11de..c91597ce4 100755 --- a/win/Projects/Audacity/Audacity.vcxproj +++ b/win/Projects/Audacity/Audacity.vcxproj @@ -60,10 +60,12 @@ true MultiThreadedDLL true - .\$(Configuration)/audacity.pch Level3 Default 4996;%(DisableSpecificWarnings) + AudacityHeaders.h;%(ForcedIncludeFiles) + Use + AudacityHeaders.h NDEBUG;%(PreprocessorDefinitions) @@ -121,6 +123,7 @@ Create + Create