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.
24 lines
864 B
24 lines
864 B
2 years ago
|
package("fast_io")
|
||
|
set_kind("library", {headeronly = true})
|
||
|
set_homepage("https://github.com/cppfastio/fast_io")
|
||
|
set_description("Significantly faster input/output for C++20")
|
||
|
set_license("MIT")
|
||
|
|
||
|
add_urls("https://github.com/cppfastio/fast_io.git")
|
||
|
add_urls("https://bitbucket.org/ejsvifq_mabmip/fast_io.git")
|
||
|
add_urls("https://gitee.com/qabeowjbtkwb/fast_io.git")
|
||
|
|
||
|
add_versions("2023.1.28", "b99b32ab429eb6256fd8de1e17fe38e4c54eb49c")
|
||
|
|
||
|
on_install("windows", "linux", "macosx", "msys", "mingw", function (package)
|
||
|
os.cp("include", package:installdir())
|
||
|
end)
|
||
|
|
||
|
on_test(function (package)
|
||
|
assert(package:check_cxxsnippets({test = [[
|
||
|
void test() {
|
||
|
print("Hello, fast_io world!\n");
|
||
|
}
|
||
|
]]}, {configs = {languages = "c++20"}, includes = {"fast_io.h"}}))
|
||
|
end)
|