Switching to premake. Probably with disasterous consequences.
This commit is contained in:
36
src/xenia/cpu/frontend/testing/premake5.lua
Normal file
36
src/xenia/cpu/frontend/testing/premake5.lua
Normal file
@@ -0,0 +1,36 @@
|
||||
project_root = "../../../../.."
|
||||
include(project_root.."/build_tools")
|
||||
|
||||
group("tests")
|
||||
project("xenia-cpu-frontend-tests")
|
||||
uuid("2a57d5ac-4024-4c49-9cd3-aa3a603c2ef8")
|
||||
kind("ConsoleApp")
|
||||
language("C++")
|
||||
links({
|
||||
"beaengine",
|
||||
"gflags",
|
||||
"xenia-base",
|
||||
"xenia-core",
|
||||
"xenia-cpu",
|
||||
"xenia-cpu-backend-x64",
|
||||
|
||||
-- TODO(benvanik): remove these dependencies.
|
||||
"xenia-debug",
|
||||
"xenia-kernel"
|
||||
})
|
||||
files({
|
||||
"ppc_testing_main.cc",
|
||||
"../../../base/main_"..platform_suffix..".cc",
|
||||
})
|
||||
files({
|
||||
"*.s",
|
||||
})
|
||||
filter("files:*.s")
|
||||
flags({"ExcludeFromBuild"})
|
||||
filter("platforms:Windows")
|
||||
debugdir(project_root)
|
||||
debugargs({
|
||||
"--flagfile=scratch/flags.txt",
|
||||
"2>&1",
|
||||
"1>scratch/stdout-testing.txt",
|
||||
})
|
||||
Reference in New Issue
Block a user