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
614 B
15 lines
614 B
package("subprocess.h") |
|
set_kind("library", {headeronly = true}) |
|
set_homepage("https://github.com/sheredom/subprocess.h") |
|
set_description("single header process launching solution for C and C++ ") |
|
|
|
add_urls("https://github.com/sheredom/subprocess.h.git") |
|
add_versions("2022.12.20", "cf95c9615953c90177498aed43621cb1cbc8f3e1") |
|
|
|
on_install("windows", "macosx", "linux", "mingw", "bsd", function (package) |
|
os.cp("*.h", package:installdir("include")) |
|
end) |
|
|
|
on_test(function (package) |
|
assert(package:has_cfuncs("subprocess_create", {includes = "subprocess.h"})) |
|
end)
|
|
|