summaryrefslogtreecommitdiff
path: root/tests/projects
diff options
context:
space:
mode:
authorruki <[email protected]>2023-01-08 10:31:03 +0800
committerGitHub <[email protected]>2023-01-08 10:31:03 +0800
commit0922b353dec8370bbbfb130bdabc4ac123c170ab (patch)
tree39c88273074e550079829d8393bc05b1d37faed8 /tests/projects
parentd20bf041ae327176e2105ceca24b0089798477a1 (diff)
Update xmake.lua
Diffstat (limited to 'tests/projects')
-rw-r--r--tests/projects/c++/modules/stl_headerunit_cpp_only/xmake.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/projects/c++/modules/stl_headerunit_cpp_only/xmake.lua b/tests/projects/c++/modules/stl_headerunit_cpp_only/xmake.lua
index 03a6168b0..73ba6b99b 100644
--- a/tests/projects/c++/modules/stl_headerunit_cpp_only/xmake.lua
+++ b/tests/projects/c++/modules/stl_headerunit_cpp_only/xmake.lua
@@ -1,9 +1,8 @@
add_rules("mode.release", "mode.debug")
- set_languages("c++20")
target("stl_headerunit_cpp_only")
set_kind("binary")
add_files("src/*.cpp")
+ set_languages("c++20")
set_policy("build.c++.modules", true)
-
set_values("c++.clang.modules.strict", true) -- clang std module clash with stl header units or c++23 std module so we disable it