You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current MICM configuration parser wraps the nlohman::json library. Modify the parser and the CMake build scripts to use yaml-cpp library instead, which will allow for mechanisms in JSON or YAML.
Acceptance Criteria
nlohman::json library is no longer a dependency of MICM
The MICM configuration parser usesyaml-cpp for parsing configuration files
Include at least one test that reads a YAML configuration
Ideas
Files that may need editing:
cmake/dependencies.cmake
CMakeLists.txt
In here we define a variable called MICM_ENABLE_JSON, maybe change that to MICM_ENABLE_CONFIG_READER or something similar
src/CMakeLists.txt
include/micm/configure/solver_config.hpp
test/unit/CMakeLists.txt
Many things in test/unit/configure
There may be others, but this is likely enough to start
Possibly create a test in the configuration parser unit tests for a YAML configuration (the translation of an existing JSON configuration should be fairly easy in Python or an online converter
The current MICM configuration parser wraps the
nlohman::json
library. Modify the parser and the CMake build scripts to useyaml-cpp
library instead, which will allow for mechanisms in JSON or YAML.Acceptance Criteria
nlohman::json
library is no longer a dependency of MICMyaml-cpp
for parsing configuration filesIdeas
cmake/dependencies.cmake
CMakeLists.txt
MICM_ENABLE_JSON
, maybe change that toMICM_ENABLE_CONFIG_READER
or something similarsrc/CMakeLists.txt
include/micm/configure/solver_config.hpp
test/unit/CMakeLists.txt
test/unit/configure
micm/test/unit/configure/test_solver_config.cpp
Lines 102 to 138 in 6b1c58a
The text was updated successfully, but these errors were encountered: