btparser/cmake.toml

22 lines
463 B
TOML
Raw Normal View History

2023-11-27 21:02:37 +08:00
# Reference: https://build-cpp.github.io/cmkr/cmake-toml
[project]
name = "btparser"
[target.btparser]
type = "static"
sources = [
"btparser/lexer.cpp",
"btparser/preprocessor.cpp",
"btparser/types.cpp",
"btparser/typesparser.cpp",
]
headers = ["btparser/*.h"]
include-directories = ["btparser"]
compile-features = ["cxx_std_14"]
[target.test]
condition = "root"
type = "executable"
sources = ["btparser/main.cpp"]
link-libraries = ["btparser"]