summaryrefslogtreecommitdiff
path: root/tests/projects/c++/modules/test_stdmodules.lua
diff options
context:
space:
mode:
authorArthur LAURENT <[email protected]>2024-01-26 18:43:00 +0100
committerArthur LAURENT <[email protected]>2024-01-26 18:43:00 +0100
commitcb8b45ba6e641156ca2e7544cce901c749b9d30a (patch)
treeacda8a5c7849e6a95981547236435655df3278fe /tests/projects/c++/modules/test_stdmodules.lua
parent300600d704248cc861c0ac50174453fbd27fff61 (diff)
update tests to use XMake runtimes support
Diffstat (limited to 'tests/projects/c++/modules/test_stdmodules.lua')
-rw-r--r--tests/projects/c++/modules/test_stdmodules.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/projects/c++/modules/test_stdmodules.lua b/tests/projects/c++/modules/test_stdmodules.lua
index 0ba72cc50..222ec9458 100644
--- a/tests/projects/c++/modules/test_stdmodules.lua
+++ b/tests/projects/c++/modules/test_stdmodules.lua
@@ -19,7 +19,7 @@ function main(t)
-- _build()
-- clang don't support libc++ std modules atm
-- os.exec("xmake clean -a")
- -- os.exec("xmake f --toolchain=clang --cxxflags=\"-stdlib=libc++\" -c --yes")
+ -- os.exec("xmake f --toolchain=clang --runtimes=c++_shared -c --yes")
-- _build()
-- end
local msvc = toolchain.load("msvc")
@@ -52,7 +52,7 @@ function main(t)
-- _build()
-- clang don't support libc++ std modules atm
-- os.exec("xmake clean -a")
- -- os.exec("xmake f --toolchain=clang --cxxflags=\"-stdlib=libc++\" -c --yes")
+ -- os.exec("xmake f --toolchain=clang --runtimes=c++_shared -c --yes")
-- _build()
-- end
end