mirror of
https://github.com/holub/mame
synced 2025-04-19 15:11:37 +03:00
Update build scripts, BX is now static library (nw)
This commit is contained in:
parent
1607745432
commit
00ad4ab0ae
@ -730,6 +730,65 @@ links {
|
||||
}
|
||||
end
|
||||
end
|
||||
|
||||
--------------------------------------------------
|
||||
-- BX library objects
|
||||
--------------------------------------------------
|
||||
|
||||
project "bx"
|
||||
uuid "238318fe-49f5-4eb4-88be-0618900f5eac"
|
||||
kind "StaticLib"
|
||||
|
||||
defines {
|
||||
"__STDC_LIMIT_MACROS",
|
||||
"__STDC_FORMAT_MACROS",
|
||||
"__STDC_CONSTANT_MACROS",
|
||||
}
|
||||
|
||||
configuration { "vs*" }
|
||||
includedirs {
|
||||
MAME_DIR .. "3rdparty/bx/include/compat/msvc",
|
||||
}
|
||||
configuration { "mingw*" }
|
||||
includedirs {
|
||||
MAME_DIR .. "3rdparty/bx/include/compat/mingw",
|
||||
}
|
||||
|
||||
configuration { "osx* or xcode4" }
|
||||
includedirs {
|
||||
MAME_DIR .. "3rdparty/bx/include/compat/osx",
|
||||
}
|
||||
|
||||
configuration { "freebsd" }
|
||||
includedirs {
|
||||
MAME_DIR .. "3rdparty/bx/include/compat/freebsd",
|
||||
}
|
||||
|
||||
configuration { "netbsd" }
|
||||
includedirs {
|
||||
MAME_DIR .. "3rdparty/bx/include/compat/freebsd",
|
||||
}
|
||||
|
||||
configuration { }
|
||||
|
||||
includedirs {
|
||||
MAME_DIR .. "3rdparty/bx/include",
|
||||
}
|
||||
|
||||
files {
|
||||
MAME_DIR .. "3rdparty/bx/src/commandline.cpp",
|
||||
MAME_DIR .. "3rdparty/bx/src/crt.cpp",
|
||||
MAME_DIR .. "3rdparty/bx/src/crtimpl.cpp",
|
||||
MAME_DIR .. "3rdparty/bx/src/debug.cpp",
|
||||
MAME_DIR .. "3rdparty/bx/src/dtoa.cpp",
|
||||
MAME_DIR .. "3rdparty/bx/src/fpumath.cpp",
|
||||
MAME_DIR .. "3rdparty/bx/src/mutex.cpp",
|
||||
MAME_DIR .. "3rdparty/bx/src/os.cpp",
|
||||
MAME_DIR .. "3rdparty/bx/src/sem.cpp",
|
||||
MAME_DIR .. "3rdparty/bx/src/string.cpp",
|
||||
MAME_DIR .. "3rdparty/bx/src/thread.cpp",
|
||||
}
|
||||
|
||||
--------------------------------------------------
|
||||
-- BGFX library objects
|
||||
--------------------------------------------------
|
||||
|
@ -301,6 +301,7 @@ end
|
||||
end
|
||||
links {
|
||||
"bgfx",
|
||||
"bx",
|
||||
"ocore_" .. _OPTIONS["osd"],
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user