- fix building

This commit is contained in:
Ilya Shurumov 2020-12-11 03:06:44 +06:00
parent d3b9ee08ef
commit 00d5063bfc
3 changed files with 22 additions and 21 deletions

View File

@ -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"

View File

@ -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 {

View File

@ -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" }