[Premake, 3PP] Formatting/cleanup

This commit is contained in:
Margen67
2025-08-11 21:03:31 -07:00
parent dabce2bcb8
commit 8b6cb9c287
10 changed files with 54 additions and 164 deletions

View File

@@ -9,17 +9,26 @@ local function match_platform_files(base_path, base_match)
base_path.."/"..base_match..".cpp",
base_path.."/"..base_match..".inc",
})
removefiles({base_path.."/".."**_main.cc"})
removefiles({base_path.."/".."**_test.cc"})
removefiles({base_path.."/".."**_posix.h", base_path.."/".."**_posix.cc"})
removefiles({base_path.."/".."**_linux.h", base_path.."/".."**_linux.cc"})
removefiles({base_path.."/".."**_gnulinux.h",
base_path.."/".."**_gnulinux.cc"})
removefiles({base_path.."/".."**_x11.h", base_path.."/".."**_x11.cc"})
removefiles({base_path.."/".."**_gtk.h", base_path.."/".."**_gtk.cc"})
removefiles({base_path.."/".."**_android.h", base_path.."/".."**_android.cc"})
removefiles({base_path.."/".."**_mac.h", base_path.."/".."**_mac.cc"})
removefiles({base_path.."/".."**_win.h", base_path.."/".."**_win.cc"})
removefiles({
base_path.."/".."**_main.cc",
base_path.."/".."**_test.cc",
base_path.."/".."**_posix.h",
base_path.."/".."**_posix.cc",
base_path.."/".."**_linux.h",
base_path.."/".."**_linux.cc",
base_path.."/".."**_gnulinux.h",
base_path.."/".."**_gnulinux.cc",
base_path.."/".."**_x11.h",
base_path.."/".."**_x11.cc",
base_path.."/".."**_gtk.h",
base_path.."/".."**_gtk.cc",
base_path.."/".."**_android.h",
base_path.."/".."**_android.cc",
base_path.."/".."**_mac.h",
base_path.."/".."**_mac.cc",
base_path.."/".."**_win.h",
base_path.."/".."**_win.cc",
})
filter("platforms:Windows")
files({
base_path.."/"..base_match.."_win.h",