From 4abb1623eab78e920bc3bb00ab5be61745f80b97 Mon Sep 17 00:00:00 2001 From: Doug Johnson Date: Thu, 12 May 2016 01:46:48 -0600 Subject: [PATCH] Add _gtk and _x11 as linux specific platform files --- tools/build/scripts/platform_files.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tools/build/scripts/platform_files.lua b/tools/build/scripts/platform_files.lua index b6d2e9ecc..4c887115e 100644 --- a/tools/build/scripts/platform_files.lua +++ b/tools/build/scripts/platform_files.lua @@ -13,6 +13,8 @@ local function match_platform_files(base_path, base_match) 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.."/".."**_x11.h", base_path.."/".."**_x11.cc"}) + removefiles({base_path.."/".."**_gtk.h", base_path.."/".."**_gtk.cc"}) removefiles({base_path.."/".."**_mac.h", base_path.."/".."**_mac.cc"}) removefiles({base_path.."/".."**_win.h", base_path.."/".."**_win.cc"}) filter("platforms:Windows") @@ -26,6 +28,10 @@ local function match_platform_files(base_path, base_match) base_path.."/"..base_match.."_posix.cc", base_path.."/"..base_match.."_linux.h", base_path.."/"..base_match.."_linux.cc", + base_path.."/"..base_match.."_x11.h", + base_path.."/"..base_match.."_x11.cc", + base_path.."/"..base_match.."_gtk.h", + base_path.."/"..base_match.."_gtk.cc", }) filter({}) end