diff options
| author | Arthur LAURENT <[email protected]> | 2025-05-13 20:22:03 +0200 |
|---|---|---|
| committer | Arthur LAURENT <[email protected]> | 2025-05-13 20:22:03 +0200 |
| commit | d1fd8beee890a1beb4ef63ad9b9cd476b2e8bc5b (patch) | |
| tree | 092f4c94273e2e479ca537474d196b8164d33809 /tests/projects/c++/modules/namespace/xmake.lua | |
| parent | 1dcfa0d95ee2cbe521b707cec7e142d8706570ff (diff) | |
(C++ modules support) add tests
Diffstat (limited to 'tests/projects/c++/modules/namespace/xmake.lua')
| -rw-r--r-- | tests/projects/c++/modules/namespace/xmake.lua | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/projects/c++/modules/namespace/xmake.lua b/tests/projects/c++/modules/namespace/xmake.lua new file mode 100644 index 000000000..aefa1ba09 --- /dev/null +++ b/tests/projects/c++/modules/namespace/xmake.lua @@ -0,0 +1,15 @@ +add_rules("mode.release", "mode.debug") +set_languages("c++20") + +namespace("foo", function() + target("dep") + set_kind("static") + add_files("src/hello.mpp", "src/mod.mpp", {public = true}) + add_files("src/hello_impl.cpp", "src/mod_impl.cpp") + + target("binary") + set_kind("binary") + add_files("src/main.cpp") + add_deps("dep") +end) + |
