diff options
| author | Doug Johnson <dougvj@gmail.com> | 2016-05-12 01:46:48 -0600 |
|---|---|---|
| committer | Doug Johnson <dougvj@gmail.com> | 2017-07-11 11:47:24 -0600 |
| commit | 4abb1623eab78e920bc3bb00ab5be61745f80b97 (patch) | |
| tree | dd5f85bd550250b13782e37a1fdbd71a6b1fd517 /tools | |
| parent | f8093cb1e04a4ae78ed2a358ec2e7b403ae2bcda (diff) | |
Add _gtk and _x11 as linux specific platform files
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/build/scripts/platform_files.lua | 6 |
1 files changed, 6 insertions, 0 deletions
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 |
