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.
cmkr/cmake.toml

28 lines
540 B

4 years ago
[cmake]
4 years ago
minimum = "3.15"
4 years ago
4 years ago
[project]
name = "cmkr"
4 years ago
version = "0.1.2"
4 years ago
[fetch-content]
4 years ago
toml11 = { git = "https://github.com/ToruNiina/toml11" }
4 years ago
[[bin]]
name = "cmkrlib"
type = "static"
4 years ago
sources = ["src/cmake.cpp", "src/gen.cpp", "src/help.cpp", "src/build.cpp", "src/error.cpp"]
include-dirs = ["include"]
4 years ago
features = ["cxx_std_17"]
link-libs = ["toml11::toml11"]
4 years ago
[[bin]]
name = "cmkr"
type = "exe"
4 years ago
sources = ["src/main.cpp", "src/args.cpp"]
link-libs = ["cmkrlib"]
4 years ago
[[install]]
targets = ["cmkr"]
destination = "${CMAKE_INSTALL_PREFIX}/bin"