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.
 
 
 

15 lines
647 B

package("lightmapper")
set_kind("library", {headeronly = true})
set_homepage("https://github.com/ands/lightmapper")
set_description("A C/C++ single-file library for drop-in lightmap baking. Just use your existing OpenGL renderer to bounce light!")
add_urls("https://github.com/ands/lightmapper.git")
add_versions("2022.01.03", "4fd3bf4e2c07263f85d5d875ebdef061bc512dd4")
on_install(function (package)
os.cp("lightmapper.h", package:installdir("include"))
end)
on_test(function (package)
assert(package:has_cfuncs("lmCreate", {includes = "lightmapper.h", configs = {languages = "c99"}}))
end)