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"
|
|
|
|
|
|
|
|
[project]
|
|
|
|
cmake-before = """
|
|
|
|
# Hack to hide a warning during cmkr bootstrapping on Windows
|
|
|
|
if(CMAKE_BUILD_TYPE)
|
|
|
|
endif()
|
|
|
|
"""
|
|
|
|
name = "cmkr"
|
|
|
|
version = "0.1.3"
|
|
|
|
description = "CMakeLists generator from TOML"
|
|
|
|
languages = ["CXX"]
|
|
|
|
subdirs = ["third_party"]
|
|
|
|
|
|
|
|
[target.cmkrlib]
|
|
|
|
type = "static"
|
|
|
|
sources = ["src/cmkrlib/*.cpp", "src/cmkrlib/*.hpp", "include/*.h"]
|
|
|
|
include-directories = ["include"]
|
|
|
|
compile-features = ["cxx_std_11"]
|
|
|
|
link-libraries = ["toml11", "ghc_filesystem", "mpark_variant", "ordered_map"]
|
|
|
|
|
|
|
|
[target.cmkr]
|
|
|
|
type = "executable"
|
|
|
|
sources = ["src/main.cpp"]
|
|
|
|
link-libraries = ["cmkrlib"]
|
|
|
|
|
|
|
|
[[install]]
|
|
|
|
targets = ["cmkr"]
|
|
|
|
destination = "${CMAKE_INSTALL_PREFIX}/bin"
|