diff options
author | Spartan322 <Megacake1234@gmail.com> | 2023-12-25 08:42:11 +0100 |
---|---|---|
committer | Spartan322 <Megacake1234@gmail.com> | 2023-12-31 20:46:26 +0100 |
commit | e1496a87178d925277aceed0ebcbab06920e15ee (patch) | |
tree | ba081f9f4d74865ab5851a2efd560745900ca81a /deps | |
parent | 0a425fbe05d6138b753c0e4a7c06f06695bde8af (diff) |
Add `https://github.com/Tessil/ordered-map`
Add is_specialization_of to Utility.hpp
Add OpenVic::ordered_map and OpenVic::ordered_set
Change `std::map` to `ordered_map`
Change `std::set to use `ordered_set`
Add `set_callback_pointer(tsl::ordered_set<T const*>& set)`
Add mutable_iterator to enable mutable value iterator for `tsl::ordered_map`
Add std::hash<OpenVic::Date> implementation
Enable deps/SCsub to expose dependency includes neccessary for inclusion
Diffstat (limited to 'deps')
-rw-r--r-- | deps/SCsub | 11 | ||||
m--------- | deps/ordered-map | 0 |
2 files changed, 10 insertions, 1 deletions
@@ -8,6 +8,7 @@ def build_openvic_dataloader(env): env.Prepend(LIBS=ovdl_env.openvic_dataloader["LIBS"]) env.Append(CPPPATH=ovdl_env.openvic_dataloader["INCPATH"]) env.openvic_dataloader = ovdl_env.openvic_dataloader + env.exposed_includes += env.openvic_dataloader["INCPATH"] def build_lexy_vdf(env): lvdf_env = SConscript("lexy-vdf/SConstruct") @@ -16,5 +17,13 @@ def build_lexy_vdf(env): env.Append(CPPPATH=lvdf_env.lexy_vdf["INCPATH"]) env.lexy_vdf = lvdf_env.lexy_vdf +def build_ordered_map(env): + include_path = "ordered-map/include" + env.ordered_map = {} + env.ordered_map["INCPATH"] = [env.Dir(include_path)] + env.Append(CPPPATH=env.ordered_map["INCPATH"]) + env.exposed_includes += env.ordered_map["INCPATH"] + build_openvic_dataloader(env) -build_lexy_vdf(env)
\ No newline at end of file +build_lexy_vdf(env) +build_ordered_map(env)
\ No newline at end of file diff --git a/deps/ordered-map b/deps/ordered-map new file mode 160000 +Subproject bd8d5ef4149cd40783a486011778a2e7eedde44 |