mirror of
https://github.com/OpenDriver2/REDRIVER2.git
synced 2024-11-21 18:02:43 +01:00
- add missing file
This commit is contained in:
parent
d490989640
commit
b92e0e3fb0
1
src_rebuild/PsyCross
Submodule
1
src_rebuild/PsyCross
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit 003dc827f80b789ad6019739721b2be637c193f3
|
73
src_rebuild/premake5_psycross.lua
Normal file
73
src_rebuild/premake5_psycross.lua
Normal file
@ -0,0 +1,73 @@
|
||||
-- if you want to build project with PsyCross - you have to include it to your workspace
|
||||
|
||||
-- Psy-Cross layer
|
||||
project "PsyCross"
|
||||
kind "StaticLib"
|
||||
language "C++"
|
||||
targetdir "bin/%{cfg.buildcfg}"
|
||||
|
||||
defines { GAME_REGION }
|
||||
|
||||
files {
|
||||
"PsyCross/**.h",
|
||||
"PsyCross/**.H",
|
||||
"PsyCross/**.c",
|
||||
"PsyCross/**.C",
|
||||
"PsyCross/**.cpp",
|
||||
"PsyCross/**.CPP",
|
||||
}
|
||||
|
||||
defines { }
|
||||
|
||||
includedirs {
|
||||
SDL2_DIR.."/include",
|
||||
OPENAL_DIR.."/include",
|
||||
"PsyCross/include"
|
||||
}
|
||||
|
||||
filter "system:Windows"
|
||||
defines { "_WINDOWS" }
|
||||
links {
|
||||
"opengl32",
|
||||
"SDL2",
|
||||
"OpenAL32"
|
||||
}
|
||||
|
||||
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 {
|
||||
"/usr/include/SDL2"
|
||||
}
|
||||
|
||||
links {
|
||||
"GL",
|
||||
"openal",
|
||||
"SDL2",
|
||||
}
|
||||
|
||||
filter "configurations:Release"
|
||||
optimize "Speed"
|
||||
|
||||
filter "configurations:Release_dev"
|
||||
optimize "Speed"
|
||||
|
||||
--filter { "files:**.c", "files:**.C" }
|
||||
-- compileas "C++"
|
||||
|
||||
usage "PsyCross"
|
||||
links "PsyCross"
|
||||
includedirs {
|
||||
"PsyCross/include",
|
||||
"PsyCross/include/psx"
|
||||
}
|
Loading…
Reference in New Issue
Block a user