summaryrefslogtreecommitdiff
path: root/tests/projects/c++/modules/hello_with_pch/test.lua
diff options
context:
space:
mode:
authorArthur LAURENT <[email protected]>2025-05-22 08:51:48 +0200
committerArthur LAURENT <[email protected]>2025-05-22 08:51:48 +0200
commit481ada9f541be6754801d36bd03c84e7b8665b58 (patch)
tree951bba94cd5c7cb82b5d0239b1415fc26dccfdc4 /tests/projects/c++/modules/hello_with_pch/test.lua
parent42ba909a17dd780a8bf1ba51a8fcd05ad9418ebd (diff)
(C++ modules support) fix clang-cl
Diffstat (limited to 'tests/projects/c++/modules/hello_with_pch/test.lua')
-rw-r--r--tests/projects/c++/modules/hello_with_pch/test.lua12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/projects/c++/modules/hello_with_pch/test.lua b/tests/projects/c++/modules/hello_with_pch/test.lua
index 7717f8049..033d2882c 100644
--- a/tests/projects/c++/modules/hello_with_pch/test.lua
+++ b/tests/projects/c++/modules/hello_with_pch/test.lua
@@ -1 +1,13 @@
inherit(".test_base")
+
+CLANG_MIN_VER = "17"
+GCC_MIN_VER = "11"
+MSVC_MIN_VER = "14.29"
+
+function main(_)
+ -- clang-cl doesn't support mixing pch and C++ module atm
+ local clang_options = {compiler = "clang", version = CLANG_MIN_VER, disable_clang_cl = true}
+ local gcc_options = {compiler = "gcc", version = GCC_MIN_VER}
+ local msvc_options = {version = MSVC_MIN_VER}
+ run_tests(clang_options, gcc_options, msvc_options)
+end