mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
Windows: Use a shared precompiled header for dolphin code under Source/
This commit is contained in:
@ -31,7 +31,7 @@
|
||||
<ImportGroup Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
<Import Project="..\..\VSProps\Base.props" />
|
||||
<Import Project="..\..\VSProps\PrecompiledHeader.props" />
|
||||
<Import Project="..\..\VSProps\PCHUse.props" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<ItemGroup>
|
||||
@ -42,9 +42,6 @@
|
||||
<ClCompile Include="Mixer.cpp" />
|
||||
<ClCompile Include="NullSoundStream.cpp" />
|
||||
<ClCompile Include="OpenALStream.cpp" />
|
||||
<ClCompile Include="stdafx.cpp">
|
||||
<PrecompiledHeader>Create</PrecompiledHeader>
|
||||
</ClCompile>
|
||||
<ClCompile Include="WaveFile.cpp" />
|
||||
<ClCompile Include="XAudio2Stream.cpp" />
|
||||
<ClCompile Include="XAudio2_7Stream.cpp">
|
||||
@ -65,7 +62,6 @@
|
||||
<ClInclude Include="OpenSLESStream.h" />
|
||||
<ClInclude Include="PulseAudioStream.h" />
|
||||
<ClInclude Include="SoundStream.h" />
|
||||
<ClInclude Include="stdafx.h" />
|
||||
<ClInclude Include="WaveFile.h" />
|
||||
<ClInclude Include="XAudio2Stream.h" />
|
||||
<ClInclude Include="XAudio2_7Stream.h" />
|
||||
|
@ -23,7 +23,6 @@
|
||||
<ClCompile Include="XAudio2Stream.cpp">
|
||||
<Filter>SoundStreams</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="stdafx.cpp" />
|
||||
<ClCompile Include="XAudio2_7Stream.cpp">
|
||||
<Filter>SoundStreams</Filter>
|
||||
</ClCompile>
|
||||
@ -50,7 +49,6 @@
|
||||
<ClInclude Include="XAudio2Stream.h">
|
||||
<Filter>SoundStreams</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="stdafx.h" />
|
||||
<ClInclude Include="XAudio2_7Stream.h">
|
||||
<Filter>SoundStreams</Filter>
|
||||
</ClInclude>
|
||||
|
@ -1,5 +0,0 @@
|
||||
// Copyright 2013 Dolphin Emulator Project
|
||||
// Licensed under GPLv2
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#include "AudioCommon/stdafx.h"
|
@ -1,17 +0,0 @@
|
||||
// Copyright 2013 Dolphin Emulator Project
|
||||
// Licensed under GPLv2
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#pragma once
|
||||
|
||||
// Windows Vista is the lowest version we support
|
||||
// BUT We need to use the headers for Win8+ XAudio2, so Win8 version is used here.
|
||||
// The XAudio2 code will gracefully fallback to older versions if the new one
|
||||
// isn't available at runtime.
|
||||
#define _WIN32_WINNT 0x0602
|
||||
|
||||
#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
|
||||
#define NOMINMAX // Don't include windows min/max definitions
|
||||
|
||||
#include <algorithm>
|
||||
#include <functional>
|
Reference in New Issue
Block a user