Thomas Boyer-Chammard 8e9c5ce429
Add JSON dictionary generation to CMake system (#2598)
* Adding dictionary generation

* fix typo

* add UT

* Refacto versions handling and add libraryVersion

* Python format

* Pass in libraries only if not empty

* Fix logic

* debug stuff

* Add correct dependencies

* More debugging

* Fix output files

* oops

* Call synchronously

* Explicitely add `version` target to dependency list

* Add libVersions in HPP and some refactoring

* remove LIBRARY_VERSIONS if empty

* Add CMake test for version target

* formatting

* Generate empty string when no libraries are present

* Fix lirary_versions key name mismatch

* Add more tests

* Add __attribute__((unused)) to appease CI

* Use LIBRARY_VERSIONS with TODO in SystemResources.cpp

* Use nullptr instead of "" when no library present

* Use LIBRARY_VERSIONS in SystemResourcesTester

* Make script variables local

* Switch to namespaced struct with constexpr
2024-04-25 09:53:24 -07:00
..