mirror of
https://github.com/xenia-project/xenia.git
synced 2026-04-07 15:43:45 +00:00
[Android] Unified xenia-app with windowed apps and build prerequisites
This commit is contained in:
parent
b41bb35a20
commit
037310f8dc
18 changed files with 176 additions and 43 deletions
20
tools/build/scripts/single_library.lua
Normal file
20
tools/build/scripts/single_library.lua
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
SINGLE_LIBRARY_PLATFORM_PATTERNS = {
|
||||
"Android-*",
|
||||
};
|
||||
|
||||
SINGLE_LIBRARY_FILTER =
|
||||
"platforms:" .. table.concat(SINGLE_LIBRARY_PLATFORM_PATTERNS, " or ");
|
||||
NOT_SINGLE_LIBRARY_FILTER = table.translate(
|
||||
SINGLE_LIBRARY_PLATFORM_PATTERNS,
|
||||
function(pattern)
|
||||
return "platforms:not " .. pattern;
|
||||
end);
|
||||
|
||||
function single_library_windowed_app_kind()
|
||||
filter(SINGLE_LIBRARY_FILTER);
|
||||
kind("StaticLib");
|
||||
wholelib("On");
|
||||
filter(NOT_SINGLE_LIBRARY_FILTER);
|
||||
kind("WindowedApp");
|
||||
filter({});
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue