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.
 
 
 

17 lines
583 B

package("cppcheck")
set_kind("binary")
set_homepage("https://cppcheck.sourceforge.io/")
set_description("A static analysis tool for C/C++ code")
add_urls("https://github.com/danmar/cppcheck/archive/refs/tags/$(version).tar.gz")
add_versions("2.13.0", "8229afe1dddc3ed893248b8a723b428dc221ea014fbc76e6289840857c03d450")
add_deps("cmake")
on_install("windows|x64", "macosx", "linux", "msys", function (package)
import("package.tools.cmake").install(package)
end)
on_test(function (package)
os.vrun("cppcheck --version")
end)