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

30 lines
720 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.3"
4 years ago
[fetch-content]
4 years ago
toml11 = { git = "https://github.com/ToruNiina/toml11" }
filesystem = { git = "https://github.com/gulrak/filesystem" }
mpark_variant = { url = "https://github.com/mpark/variant/archive/v1.4.0.tar.gz" }
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"]
features = ["cxx_std_11"]
link-libs = ["toml11::toml11", "ghc_filesystem", "mpark_variant"]
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"