You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
[cmake]
|
|
|
|
minimum = "3.14"
|
|
|
|
|
|
|
|
[project]
|
|
|
|
name = "cmkr"
|
|
|
|
version = "0.1.0"
|
|
|
|
|
|
|
|
[fetch-content]
|
|
|
|
toml11 = { GIT_REPOSITORY = "https://github.com/ToruNiina/toml11" }
|
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "cmkrlib"
|
|
|
|
type = "static"
|
|
|
|
sources = ["src/cmake.cpp", "src/gen.cpp", "src/help.cpp", "src/build.cpp", "src/error.cpp"]
|
|
|
|
include-dirs = ["include"]
|
|
|
|
features = ["cxx_std_17"]
|
|
|
|
link-libs = ["toml11::toml11"]
|
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "cmkr"
|
|
|
|
type = "exe"
|
|
|
|
sources = ["src/main.cpp", "src/args.cpp"]
|
|
|
|
link-libs = ["cmkrlib"]
|
|
|
|
|