forked from build-cpp/cmkr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cmake.toml
44 lines (40 loc) · 810 Bytes
/
cmake.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
[cmake]
version = "2.8...3.8"
cmkr-include = false
[project]
name = "cmkr"
version = "0.2.35"
description = "CMakeLists generator from TOML"
languages = ["CXX"]
include-after = [
"cmake/generate_documentation.cmake",
"cmake/generate_resources.cmake"
]
subdirs = ["third_party", "tests"]
[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",
]
include-after = ["cmake/custom_targets.cmake"]
[[install]]
targets = ["cmkr"]
destination = "bin"