vs: Move defines out of Common.h to the build system

This commit is contained in:
Florent Castelli committed 2017-01-24 03:55:46 +01:00
1 parent a7bf9271b5
commit 0baf1c78c0
2 files changed
+2 -7

No files matched your search

-7
View File
@@ -39,13 +39,6 @@ extern const std::string scm_distributor_str;
// Since they are always around on Windows
#define HAVE_WX 1
#ifndef HAVE_OPENAL
#define HAVE_OPENAL 1
#endif
#ifndef HAVE_PORTAUDIO
#define HAVE_PORTAUDIO 1
#endif
// Debug definitions
#if defined(_DEBUG)
+2
View File
@@ -55,6 +55,8 @@
<PreprocessorDefinitions>PSAPI_VERSION=1;_M_X86=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions>SFML_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions>CURL_STATICLIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions>HAVE_OPENAL=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions>HAVE_PORTAUDIO=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions Condition="'$(Platform)'=='x64'">_ARCH_64=1;_M_X86_64=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<!--
Make sure we include a clean version of windows.h.