summaryrefslogtreecommitdiff
path: root/tests/projects/c++/modules/hello_with_pch/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2025-04-06 22:03:58 +0800
committerruki <[email protected]>2025-04-08 15:31:58 +0800
commit43c3b8607775f7ee5b52e24a7f785b4c7a5ab292 (patch)
tree6d3d7546d3142faea4188fdbe59d9b04c068c397 /tests/projects/c++/modules/hello_with_pch/xmake.lua
parent3b2e44ef7fce4baca2ede46bf1edb8cbf42734bb (diff)
add modules with pch test
Diffstat (limited to 'tests/projects/c++/modules/hello_with_pch/xmake.lua')
-rw-r--r--tests/projects/c++/modules/hello_with_pch/xmake.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/projects/c++/modules/hello_with_pch/xmake.lua b/tests/projects/c++/modules/hello_with_pch/xmake.lua
new file mode 100644
index 000000000..79ddb6b58
--- /dev/null
+++ b/tests/projects/c++/modules/hello_with_pch/xmake.lua
@@ -0,0 +1,7 @@
+add_rules("mode.release", "mode.debug")
+set_languages("c++20")
+
+target("hello")
+ set_kind("binary")
+ set_pcxxheader("src/test.h")
+ add_files("src/*.cpp", "src/*.mpp")