From dc4d50bc2c519acd904ac533169c726cd7f60a31 Mon Sep 17 00:00:00 2001 From: Reece Date: Fri, 4 Mar 2022 18:21:25 +0000 Subject: [PATCH] [*] auFilter usage --- Core/JSON/jsonProjectHandlers.lua | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/Core/JSON/jsonProjectHandlers.lua b/Core/JSON/jsonProjectHandlers.lua index 12c3ca3..043d5da 100644 --- a/Core/JSON/jsonProjectHandlers.lua +++ b/Core/JSON/jsonProjectHandlers.lua @@ -171,23 +171,15 @@ local function auBlockProjectKeyImplIncludes(processor, value) end local function auBlockProjectKeyClangIgnore(processor, value) - if (targetingCmake) then - filter {"toolset:clang"} - end - + auFilter {"toolset:clang"} disablewarnings(value) - - filter {} + auFilter {} end local function auBlockProjectKeyMSVCIgnore(processor, value) - if (targetingCmake) then - filter {"toolset:msc"} - end - + auFilter {"toolset:msc"} disablewarnings(value) - - filter {} + auFilter {} end local function _auBlockProjectKeyLinks(value, processor)