mirror of
https://github.com/OpenDriver2/REDRIVER2.git
synced 2024-11-22 10:22:48 +01:00
- fix building
This commit is contained in:
parent
d3b9ee08ef
commit
00d5063bfc
@ -1,8 +1,9 @@
|
||||
#ifndef EMULATOR_H
|
||||
#define EMULATOR_H
|
||||
|
||||
#include "EMULATOR_PLATFORM_SETUP.H"
|
||||
#include "TYPES.H"
|
||||
#include "EMULATOR_PLATFORM_SETUP.H"
|
||||
|
||||
#include "PGXP_DEFS.H"
|
||||
#include "LIBGTE.H"
|
||||
#include "LIBGPU.H"
|
||||
|
@ -34,17 +34,17 @@ project "Psy-X"
|
||||
"OpenAL32"
|
||||
}
|
||||
|
||||
filter "platforms:x86"
|
||||
libdirs {
|
||||
SDL2_DIR.."/lib/x86",
|
||||
OPENAL_DIR.."/libs/Win32",
|
||||
}
|
||||
|
||||
filter "platforms:x86_64"
|
||||
libdirs {
|
||||
SDL2_DIR.."/lib/x64",
|
||||
OPENAL_DIR.."/libs/Win64",
|
||||
}
|
||||
filter {"system:Windows", "platforms:x86"}
|
||||
libdirs {
|
||||
SDL2_DIR.."/lib/x86",
|
||||
OPENAL_DIR.."/libs/Win32",
|
||||
}
|
||||
|
||||
filter {"system:Windows", "platforms:x86_64"}
|
||||
libdirs {
|
||||
SDL2_DIR.."/lib/x64",
|
||||
OPENAL_DIR.."/libs/Win64",
|
||||
}
|
||||
|
||||
filter "system:linux"
|
||||
includedirs {
|
||||
|
@ -17,7 +17,7 @@ end
|
||||
|
||||
workspace "REDRIVER2"
|
||||
configurations { "Debug", "Release", "Release_dev" }
|
||||
-- platforms { "x86", "x86_64" }
|
||||
platforms { "x86" } --, "x86_64" }
|
||||
|
||||
defines { VERSION }
|
||||
|
||||
@ -33,14 +33,14 @@ workspace "REDRIVER2"
|
||||
|
||||
cppdialect "C++11"
|
||||
|
||||
filter "platforms:x86_64"
|
||||
buildoptions {
|
||||
"-m32"
|
||||
}
|
||||
|
||||
linkoptions {
|
||||
"-m32"
|
||||
}
|
||||
filter {"system:Linux", "platforms:x86"}
|
||||
buildoptions {
|
||||
"-m32"
|
||||
}
|
||||
|
||||
linkoptions {
|
||||
"-m32"
|
||||
}
|
||||
|
||||
filter "system:Windows"
|
||||
disablewarnings { "4996", "4554", "4244", "4101", "4838", "4309" }
|
||||
|
Loading…
Reference in New Issue
Block a user