From affed6ef2ff60681186f232acda45352b6cbf174 Mon Sep 17 00:00:00 2001 From: Jarod42 Date: Tue, 24 Mar 2026 17:05:42 +0100 Subject: [PATCH] Replace removed `flags` by their counterpart API. --- codeblocks_auditor.lua | 4 ++-- codeblocks_cbp.lua | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/codeblocks_auditor.lua b/codeblocks_auditor.lua index 41dce27..03d4cc0 100644 --- a/codeblocks_auditor.lua +++ b/codeblocks_auditor.lua @@ -38,8 +38,8 @@ if filecfg1.buildaction ~= filecfg2.buildaction then return false, "buildaction" end - if filecfg1.flags.ExcludeFromBuild ~= filecfg2.flags.ExcludeFromBuild then - return false, 'flags {"ExcludeFromBuild"}' + if filecfg1.excludefrombuild ~= filecfg2.excludefrombuild then + return false, "excludefrombuild" end if filecfg1.buildmessage ~= filecfg2.buildmessage then return false, "buildmessage" diff --git a/codeblocks_cbp.lua b/codeblocks_cbp.lua index 08d86f4..9305604 100644 --- a/codeblocks_cbp.lua +++ b/codeblocks_cbp.lua @@ -139,7 +139,7 @@ if (cfg.kind == "SharedLib") then _p(4,'