From c20581c1027bbd1bedaecb66ce6d10903ff3aa97 Mon Sep 17 00:00:00 2001 From: spacy51 Date: Wed, 19 Aug 2009 16:27:48 +0000 Subject: [PATCH] Reduce build time by about 66% by using precompiled headers for MFC GUI code. git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@894 a31d4220-a93d-0410-bf67-fe4944624d44 --- project/vc2008_mfc/VBA2008.vcproj | 1024 +++++++++++++++++++++++++++++ src/win32/AVIWrite.cpp | 2 + src/win32/AVIWrite.h | 1 - src/win32/OALConfig.cpp | 2 +- src/win32/XAudio2_Config.cpp | 3 +- 5 files changed, 1028 insertions(+), 4 deletions(-) diff --git a/project/vc2008_mfc/VBA2008.vcproj b/project/vc2008_mfc/VBA2008.vcproj index a87a7243..30a7c422 100644 --- a/project/vc2008_mfc/VBA2008.vcproj +++ b/project/vc2008_mfc/VBA2008.vcproj @@ -924,6 +924,22 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/win32/OALConfig.cpp b/src/win32/OALConfig.cpp index 99dac10d..5c331f77 100644 --- a/src/win32/OALConfig.cpp +++ b/src/win32/OALConfig.cpp @@ -1,5 +1,5 @@ -#ifndef NO_OAL #include "stdafx.h" +#ifndef NO_OAL #include "VBA.h" #include "OALConfig.h" diff --git a/src/win32/XAudio2_Config.cpp b/src/win32/XAudio2_Config.cpp index 335f087f..1a6cd5bb 100644 --- a/src/win32/XAudio2_Config.cpp +++ b/src/win32/XAudio2_Config.cpp @@ -1,6 +1,5 @@ -#ifndef NO_XAUDIO2 - #include "stdafx.h" +#ifndef NO_XAUDIO2 #include "VBA.h" #include "XAudio2_Config.h"