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.
22 lines
917 B
22 lines
917 B
4 years ago
|
package("vcglib")
|
||
|
|
||
|
set_homepage("http://www.vcglib.net/")
|
||
|
set_description("The Visualization and Computer Graphics Library (VCG for short) is a open source portable C++ templated library for manipulation, processing and displaying with OpenGL of triangle and tetrahedral meshes.")
|
||
|
set_license("GPL-3.0")
|
||
|
|
||
|
add_urls("https://github.com/cnr-isti-vclab/vcglib/archive/refs/tags/2020.12.tar.gz")
|
||
|
add_versions("2020.12", "731c57435e39c4b958a1d766cadd9865d9db35e36410708f2da7818e9fa5f786")
|
||
|
|
||
|
add_deps("eigen")
|
||
|
on_install("windows", "macosx", "linux", function (package)
|
||
|
os.mv("vcg", package:installdir("include"))
|
||
|
end)
|
||
|
|
||
|
on_test(function (package)
|
||
|
assert(package:check_cxxsnippets({test = [[
|
||
|
void test() {
|
||
|
vcg::Quaternionf q(1, 0, 0, 0);
|
||
|
}
|
||
|
]]}, {configs = {languages = "c++14"}, includes = "vcg/math/quaternion.h"}))
|
||
|
end)
|