From a0848dab701b4f64a4345c6ef8ace61c9532dc41 Mon Sep 17 00:00:00 2001 From: Saikari Date: Sat, 31 Jan 2026 13:51:23 +0300 Subject: fix: update policy for disabled target to use generator.compile_commands --- tests/projects/policy/compile_commands/src/disabled.c | 3 --- tests/projects/policy/compile_commands/xmake.lua | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) delete mode 100644 tests/projects/policy/compile_commands/src/disabled.c diff --git a/tests/projects/policy/compile_commands/src/disabled.c b/tests/projects/policy/compile_commands/src/disabled.c deleted file mode 100644 index 9b130982d..000000000 --- a/tests/projects/policy/compile_commands/src/disabled.c +++ /dev/null @@ -1,3 +0,0 @@ -int main(int argc, char** argv) { - return 0; -} diff --git a/tests/projects/policy/compile_commands/xmake.lua b/tests/projects/policy/compile_commands/xmake.lua index 03f8a788d..1ccf48af6 100644 --- a/tests/projects/policy/compile_commands/xmake.lua +++ b/tests/projects/policy/compile_commands/xmake.lua @@ -7,4 +7,4 @@ target("enabled") target("disabled") set_kind("binary") add_files("src/main.c") - set_policy("build.compile_commands", false) + set_policy("generator.compile_commands", false) -- cgit v1.3.1