diff options
| author | ryblust <[email protected]> | 2026-08-31 10:09:19 +0800 |
|---|---|---|
| committer | ryblust <[email protected]> | 2026-08-31 11:45:48 +0800 |
| commit | d160d27a164abb54b0b002851918ee2932748066 (patch) | |
| tree | b17858f42780afc7015512bca662634828d0ec0b /tests/projects/c++/modules/precompile_reduced_bmi/xmake.lua | |
| parent | 8ff832c9fba6007ee8bd28cf5e46dddaceca5417 (diff) | |
support clang reduced BMI compilation
Add an opt-in Clang 23 policy that generates reduced BMIs and compiles module objects directly from source so both jobs can run in parallel. Add module coverage and update the stdmodules_deps fixture for Clang's P1857R3 enforcement.
Diffstat (limited to 'tests/projects/c++/modules/precompile_reduced_bmi/xmake.lua')
| -rw-r--r-- | tests/projects/c++/modules/precompile_reduced_bmi/xmake.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/projects/c++/modules/precompile_reduced_bmi/xmake.lua b/tests/projects/c++/modules/precompile_reduced_bmi/xmake.lua new file mode 100644 index 000000000..0aa2dc516 --- /dev/null +++ b/tests/projects/c++/modules/precompile_reduced_bmi/xmake.lua @@ -0,0 +1,6 @@ +add_rules("mode.release", "mode.debug") +set_languages("c++20") + +target("precompile_reduced_bmi") + set_kind("binary") + add_files("src/*.cpp", "src/*.mpp") |
