summaryrefslogtreecommitdiff
path: root/tests/projects/c++/modules/phony/xmake.lua
diff options
context:
space:
mode:
authorArthur LAURENT <[email protected]>2025-05-07 15:42:28 +0200
committerArthur LAURENT <[email protected]>2025-05-09 15:56:33 +0200
commitb1578e624a53de98cbbbbf5a21ade120efdc5130 (patch)
treeb75d6bf52a0d2ef33661f85fd1889660ecbd322d /tests/projects/c++/modules/phony/xmake.lua
parent41bb46475576049e3b0dc6c008311c41d8432f62 (diff)
(C++ modules support) add tests
Diffstat (limited to 'tests/projects/c++/modules/phony/xmake.lua')
-rw-r--r--tests/projects/c++/modules/phony/xmake.lua12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/projects/c++/modules/phony/xmake.lua b/tests/projects/c++/modules/phony/xmake.lua
new file mode 100644
index 000000000..1bb71298b
--- /dev/null
+++ b/tests/projects/c++/modules/phony/xmake.lua
@@ -0,0 +1,12 @@
+add_rules("mode.release", "mode.debug")
+set_languages("c++20")
+
+target("test-phony")
+ set_kind("phony")
+ add_files("src/*.mpp", {public = true})
+
+target("class")
+ set_kind("binary")
+ add_files("src/*.cpp")
+ add_deps("test-phony")
+