blob: 64f0c4b0586d994ee5361a47c4b14a3592c12c7d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
add_rules("mode.release", "mode.debug")
set_languages("c++20")
target("bar")
set_kind("static")
add_files("src/bar.mpp", {public = true})
add_files("src/bar.cpp")
target("foo")
set_kind("static")
add_deps("bar")
add_files("src/foo.mpp", {public = true})
add_files("src/foo.cpp")
target("hello")
set_kind("binary")
add_deps("foo")
add_files("src/main.cpp")
|