[Premake] Removed unused/unnecessary subprojects.
- Testing currently doesn't work - VFS Dump is unused. You can use internal function for it - Demos are only for fun - Trace Dump & Trace Viewer (unsure, but ok) You can re-enable them by changing values: enableTests and enableMiscSubprojects in main premake file. In the future there should be xb command support to overwrite them
This commit is contained in:
committed by
Radosław Gliński
parent
7298536d46
commit
31d715d100
@@ -7,35 +7,37 @@ project("xenia-vfs")
|
||||
kind("StaticLib")
|
||||
language("C++")
|
||||
links({
|
||||
"xenia-base", "zstd", "zarchive"
|
||||
"xenia-base",
|
||||
"zstd",
|
||||
"zarchive"
|
||||
})
|
||||
defines({
|
||||
})
|
||||
-- filter({"configurations:Release", "platforms:Windows"})
|
||||
-- buildoptions({
|
||||
-- "/O1",
|
||||
-- })
|
||||
-- filter {}
|
||||
|
||||
recursive_platform_files()
|
||||
removefiles({"vfs_dump.cc"})
|
||||
|
||||
project("xenia-vfs-dump")
|
||||
uuid("2EF270C7-41A8-4D0E-ACC5-59693A9CCE32")
|
||||
kind("ConsoleApp")
|
||||
language("C++")
|
||||
links({
|
||||
"fmt",
|
||||
"xenia-base",
|
||||
"xenia-vfs",
|
||||
})
|
||||
defines({})
|
||||
if enableMiscSubprojects then
|
||||
project("xenia-vfs-dump")
|
||||
uuid("2EF270C7-41A8-4D0E-ACC5-59693A9CCE32")
|
||||
kind("ConsoleApp")
|
||||
language("C++")
|
||||
links({
|
||||
"fmt",
|
||||
"xenia-base",
|
||||
"xenia-vfs",
|
||||
})
|
||||
defines({})
|
||||
|
||||
files({
|
||||
"vfs_dump.cc",
|
||||
project_root.."/src/xenia/base/console_app_main_"..platform_suffix..".cc",
|
||||
})
|
||||
resincludedirs({
|
||||
project_root,
|
||||
})
|
||||
include("testing")
|
||||
files({
|
||||
"vfs_dump.cc",
|
||||
project_root.."/src/xenia/base/console_app_main_"..platform_suffix..".cc",
|
||||
})
|
||||
resincludedirs({
|
||||
project_root,
|
||||
})
|
||||
end
|
||||
|
||||
if enableTests then
|
||||
include("testing")
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user