summaryrefslogtreecommitdiff
path: root/tests/projects/c++/modules/partitions2
diff options
context:
space:
mode:
authorruki <[email protected]>2023-01-12 08:36:43 +0800
committerGitHub <[email protected]>2023-01-12 08:36:43 +0800
commit4a911fb47f4fd12cefbc4580d5ddceb9f65b9a81 (patch)
tree738e993d5055ec7e701e31631dd5818510f8f95a /tests/projects/c++/modules/partitions2
parent15733580777f5a1c0a15da835a27d2c832539c93 (diff)
parent9793894c1d2e055a4cfe044002bea4c7e6bb075d (diff)
Merge pull request #3255 from Arthapz/improve-clang-modules-support-with-libc++
improve clang libc++ module support
Diffstat (limited to 'tests/projects/c++/modules/partitions2')
-rw-r--r--tests/projects/c++/modules/partitions2/test.lua2
-rw-r--r--tests/projects/c++/modules/partitions2/xmake.lua4
2 files changed, 4 insertions, 2 deletions
diff --git a/tests/projects/c++/modules/partitions2/test.lua b/tests/projects/c++/modules/partitions2/test.lua
index c18e5a1d0..e77adc4ae 100644
--- a/tests/projects/c++/modules/partitions2/test.lua
+++ b/tests/projects/c++/modules/partitions2/test.lua
@@ -1 +1 @@
-inherit(".test_headerunits")
+inherit(".test_stdmodules")
diff --git a/tests/projects/c++/modules/partitions2/xmake.lua b/tests/projects/c++/modules/partitions2/xmake.lua
index c9290833b..9e0ab37bb 100644
--- a/tests/projects/c++/modules/partitions2/xmake.lua
+++ b/tests/projects/c++/modules/partitions2/xmake.lua
@@ -1,4 +1,6 @@
+add_rules("mode.release", "mode.debug")
set_languages("c++20")
-target("hello")
+
+target("partition2")
set_kind("binary")
add_files("src/*.cpp", "src/*.mpp")