|
|
@ -13,6 +13,7 @@ package("re2") |
|
|
|
add_versions("2023.11.01", "4e6593ac3c71de1c0f322735bc8b0492a72f66ffccfad76e259fa21c41d27d8a") |
|
|
|
add_versions("2023.11.01", "4e6593ac3c71de1c0f322735bc8b0492a72f66ffccfad76e259fa21c41d27d8a") |
|
|
|
add_versions("2024.03.01", "7b2b3aa8241eac25f674e5b5b2e23d4ac4f0a8891418a2661869f736f03f57f4") |
|
|
|
add_versions("2024.03.01", "7b2b3aa8241eac25f674e5b5b2e23d4ac4f0a8891418a2661869f736f03f57f4") |
|
|
|
add_versions("2024.04.01", "3f6690c3393a613c3a0b566309cf04dc381d61470079b653afc47c67fb898198") |
|
|
|
add_versions("2024.04.01", "3f6690c3393a613c3a0b566309cf04dc381d61470079b653afc47c67fb898198") |
|
|
|
|
|
|
|
add_versions("2024.06.01", "7326c74cddaa90b12090fcfc915fe7b4655723893c960ee3c2c66e85c5504b6c") |
|
|
|
|
|
|
|
|
|
|
|
add_deps("cmake", "abseil") |
|
|
|
add_deps("cmake", "abseil") |
|
|
|
|
|
|
|
|
|
|
@ -20,6 +21,13 @@ package("re2") |
|
|
|
add_syslinks("pthread") |
|
|
|
add_syslinks("pthread") |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
on_load(function (package) |
|
|
|
|
|
|
|
local version = package:version() |
|
|
|
|
|
|
|
if version:eq("2024.06.01") and package:is_plat("mingw") then |
|
|
|
|
|
|
|
package:add("syslinks", "Dbghelp") |
|
|
|
|
|
|
|
end |
|
|
|
|
|
|
|
end) |
|
|
|
|
|
|
|
|
|
|
|
on_install("macosx", "linux", "windows", "mingw", "cross", function (package) |
|
|
|
on_install("macosx", "linux", "windows", "mingw", "cross", function (package) |
|
|
|
local configs = {"-DRE2_BUILD_TESTING=OFF"} |
|
|
|
local configs = {"-DRE2_BUILD_TESTING=OFF"} |
|
|
|
table.insert(configs, "-DCMAKE_CXX_STANDARD=17") |
|
|
|
table.insert(configs, "-DCMAKE_CXX_STANDARD=17") |
|
|
|