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
830 B
20 lines
830 B
package("stlab") |
|
|
|
set_kind("library", {headeronly = true}) |
|
set_homepage("https://stlab.cc/") |
|
set_description("Adobe Source Libraries from Software Technology Lab") |
|
set_license("BSL-1.0") |
|
|
|
add_urls("https://github.com/stlab/libraries/archive/refs/tags/$(version).tar.gz", |
|
"https://github.com/stlab/libraries.git") |
|
add_versions("v1.6.2", "d0369d889c7bf78068d0c4f4b5125d7e9fe9abb0ad7a3be35bf13b6e2c271676") |
|
|
|
add_deps("cmake") |
|
add_deps("boost") |
|
on_install("windows", "macosx", "linux", function (package) |
|
import("package.tools.cmake").install(package, {"-Dstlab.testing=OFF", "-Dstlab.coverage=OFF"}) |
|
end) |
|
|
|
on_test(function (package) |
|
assert(package:has_cxxtypes("stlab::forest<char>", {configs = {languages = "c++17"}, includes = "stlab/forest.hpp"})) |
|
end)
|
|
|