[Build] Convert build system to raw cmake and remove premake layer
This commit is contained in:
7
src/xenia/cpu/testing/CMakeLists.txt
Normal file
7
src/xenia/cpu/testing/CMakeLists.txt
Normal file
@@ -0,0 +1,7 @@
|
||||
xe_test_suite(xenia-cpu-tests ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
LINKS
|
||||
capstone fmt imgui
|
||||
xenia-base xenia-core xenia-cpu xenia-gpu
|
||||
xenia-hid-skylander xenia-kernel xenia-ui xenia-patcher
|
||||
$<$<STREQUAL:${CMAKE_SYSTEM_PROCESSOR},x86_64>:xenia-cpu-backend-x64>
|
||||
)
|
||||
@@ -1,28 +0,0 @@
|
||||
project_root = "../../../.."
|
||||
include(project_root.."/tools/build")
|
||||
|
||||
test_suite("xenia-cpu-tests", project_root, ".", {
|
||||
links = {
|
||||
"capstone",
|
||||
"fmt",
|
||||
"imgui",
|
||||
"xenia-base",
|
||||
"xenia-core",
|
||||
"xenia-cpu",
|
||||
"xenia-gpu",
|
||||
"xenia-hid-skylander",
|
||||
|
||||
-- TODO(benvanik): cut these dependencies?
|
||||
"xenia-kernel",
|
||||
"xenia-ui", -- needed by xenia-base
|
||||
"xenia-patcher",
|
||||
},
|
||||
filtered_links = {
|
||||
{
|
||||
filter = 'architecture:x86_64',
|
||||
links = {
|
||||
"xenia-cpu-backend-x64",
|
||||
},
|
||||
}
|
||||
},
|
||||
})
|
||||
Reference in New Issue
Block a user