diff options
| author | Saikari <[email protected]> | 2026-01-31 13:51:23 +0300 |
|---|---|---|
| committer | Saikari <[email protected]> | 2026-01-31 13:51:23 +0300 |
| commit | a0848dab701b4f64a4345c6ef8ace61c9532dc41 (patch) | |
| tree | ca10e11b29f1f044a4cb291c3066c4d7c617bf39 /tests | |
| parent | 5db59f35d5770790d008d6fdc1c1bdea1f16d9b3 (diff) | |
fix: update policy for disabled target to use generator.compile_commands
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/projects/policy/compile_commands/src/disabled.c | 3 | ||||
| -rw-r--r-- | tests/projects/policy/compile_commands/xmake.lua | 2 |
2 files changed, 1 insertions, 4 deletions
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) |
