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]
|
|
|
|
version = "2.8...3.8"
|
|
|
|
cmkr-include = false
|
|
|
|
|
|
|
|
[project]
|
|
|
|
name = "cmkr"
|
|
|
|
version = "0.2.0"
|
|
|
|
description = "CMakeLists generator from TOML"
|
|
|
|
languages = ["CXX"]
|
|
|
|
subdirs = ["third_party", "tests"]
|
|
|
|
include-after = [
|
|
|
|
"cmake/generate_documentation.cmake",
|
|
|
|
"cmake/generate_resources.cmake"
|
|
|
|
]
|
|
|
|
|
|
|
|
[target.cmkr_generate_documentation]
|
|
|
|
type = "interface"
|
|
|
|
cmake-after = """
|
|
|
|
generate_documentation()
|
|
|
|
"""
|
|
|
|
|
|
|
|
[target.cmkr]
|
|
|
|
type = "executable"
|
|
|
|
sources = [
|
|
|
|
"src/*.cpp",
|
|
|
|
"include/*.hpp",
|
|
|
|
"cmake/cmkr.cmake",
|
|
|
|
"cmake/version.hpp.in",
|
|
|
|
]
|
|
|
|
include-directories = [
|
|
|
|
"include",
|
|
|
|
]
|
|
|
|
compile-features = ["cxx_std_11"]
|
|
|
|
link-libraries = [
|
|
|
|
"toml11",
|
|
|
|
"ghc_filesystem",
|
|
|
|
"mpark_variant",
|
|
|
|
"ordered_map",
|
|
|
|
"nlohmann_json",
|
|
|
|
]
|
|
|
|
cmake-after = """
|
|
|
|
generate_resources(${CMKR_TARGET})
|
|
|
|
"""
|
|
|
|
|
|
|
|
[[install]]
|
|
|
|
targets = ["cmkr"]
|
|
|
|
destination = "bin"
|