From 1e9053b9383167eca317a941945ecf5d6a61aed4 Mon Sep 17 00:00:00 2001 From: Reece Wilson Date: Thu, 8 Sep 2022 21:08:10 +0100 Subject: [PATCH] [+] Add "darwin" platform-file filter [*] Match *.inc --- Core/project.lua | 3 +++ Features/guess-platform-code.lua | 1 + 2 files changed, 4 insertions(+) diff --git a/Core/project.lua b/Core/project.lua index e239218..7aa4422 100644 --- a/Core/project.lua +++ b/Core/project.lua @@ -379,6 +379,7 @@ local function setupProject(prj) files(path .. "/**.h") files(path .. "/**.hpp") files(path .. "/**.inl") + files(path .. "/**.inc") files(path .. "/**.ipp") end) @@ -405,10 +406,12 @@ local function setupProject(prj) { path .. "/**.*pp", path .. "/**.inl", + path .. "/**.inc", path .. "/**.c", path .. "/**.cc", path .. "/**.cxx", path .. "/**.h", + path .. "/**.asm", path .. "/**.masm" -- required explicitly } end, root) diff --git a/Features/guess-platform-code.lua b/Features/guess-platform-code.lua index cdb4f15..0ed1d87 100644 --- a/Features/guess-platform-code.lua +++ b/Features/guess-platform-code.lua @@ -49,6 +49,7 @@ local function feature() auFilter(auFilterOf({notPlatforms = isNotApple})) excludeFiles "apple" excludeFiles "xnu" + excludeFiles "darwin" auFilter{} auFilter(auFilterOf({notPlatforms = {"mac"}}))