123456789101112131415161718192021 |
- package("plf_colony")
- set_kind("library", {headeronly = true})
- set_homepage("https://plflib.org/colony.htm")
- set_description("An unordered C++ data container providing fast iteration/insertion/erasure while maintaining pointer/iterator validity to non-erased elements regardless of insertions/erasures. Provides higher-performance than std:: library containers for high-modification scenarios with unordered data.")
- set_license("zlib")
- add_urls("https://github.com/mattreecebentley/plf_colony.git")
- add_versions("v7.41", "abb0aa6525a3dae56aacf50899517f47e7036016")
- on_install(function (package)
- os.cp("plf_colony.h", package:installdir("include"))
- end)
- on_test(function (package)
- assert(package:check_cxxsnippets({test = [[
- #include <plf_colony.h>
- void test() {
- plf::colony<int> i_colony;
- }
- ]]}, {configs = {languages = "c++17"}}))
- end)
|