-
-
Notifications
You must be signed in to change notification settings - Fork 100
Expand file tree
/
Copy pathxmake.lua
More file actions
18 lines (17 loc) · 596 Bytes
/
xmake.lua
File metadata and controls
18 lines (17 loc) · 596 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
option("cpp", {default = "20"})
target("unordered_dense")
set_kind("moduleonly")
set_languages("c++" .. (get_config("cpp") or "20"))
add_headerfiles("include/(**.h)")
add_includedirs("include")
add_files("src/ankerl.unordered_dense.cpp", {public = true})
add_options("cpp")
set_policy("build.c++.modules", true)
target("example")
set_kind("binary")
set_languages("c++" .. (get_config("cpp") or "20"))
add_options("cpp")
add_deps("unordered_dense")
add_defines("MODULES")
add_files("example/main.cpp")
set_policy("build.c++.modules", true)