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.
 
 
 

20 lines
813 B

package("dlib")
set_kind("library", {headeronly = true})
set_homepage("https://dlib.net")
set_description("A toolkit for making real world machine learning and data analysis applications in C++")
set_license("Boost")
add_urls("https://github.com/davisking/dlib/archive/refs/tags/$(version).tar.gz",
"https://github.com/davisking/dlib.git")
add_versions("v19.22", "5f44b67f762691b92f3e41dcf9c95dd0f4525b59cacb478094e511fdacb5c096")
add_deps("cmake")
on_install("windows", "linux", "macosx", function (package)
import("package.tools.cmake").install(package)
end)
on_test(function (package)
assert(package:has_cxxtypes("dlib::command_line_parser", {
includes = "dlib/cmd_line_parser.h", configs = {languages = "c++11"}}))
end)