summaryrefslogtreecommitdiff
path: root/tests/projects/c++/modules/submodules/xmake.lua
blob: 5f2b4ca787d34146fc7bb1fb67a6f40ae7719252 (plain)
1
2
3
4
5
6
7
8
add_rules("mode.release", "mode.debug")
set_languages("c++20")

target("submodule")
    set_kind("binary")
    add_files("src/*.cpp", "src/*.mpp")

    set_values("c++.clang.modules.strict", true) -- clang std module clash with stl headers, header units and c++23 std module so we disable it when using libc++