package An official xmake package repository https://xrepo.xmake.io/
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.
 
 
 

18 lines
705 B

package("cli")
set_kind("library", {headeronly = true})
set_homepage("https://github.com/daniele77/cli")
set_description("A library for interactive command line interfaces in modern C++")
add_urls("https://github.com/daniele77/cli/archive/refs/tags/$(version).tar.gz",
"https://github.com/daniele77/cli.git")
add_versions("v2.0.0", "0fac3c9fab4527e6141f8fae92dabbd575b6cc71c42c3de76cb28725df68919a")
add_deps("cmake")
on_install(function (package)
import("package.tools.cmake").install(package)
end)
on_test(function (package)
assert(package:has_cxxtypes("cli::Cli", {configs = {languages = "c++17"}, includes = "cli/cli.h"}))
end)