This project is a C++ console application for parsing a Pokémon Pokedex JSON file. It can switch between two JSON parsers, jsoncpp and nlohmann::json, based on CMake configuration.
- JSONCPP
- nlohmann::json
-
Clone the repository and open a terminal in the project directory.
git clone https://github.com/liamcremers/2GD11E_Cremers_Liam_SE_Pokedex cd 2GD11E_Cremers_Liam_SE_Pokedex
-
Configure with CMake:
-
To use JSONCPP:
cmake -S . -B build -DJSON_LIBRARY=jsoncpp
-
To use nlohmann JSON:
cmake -S . -B build -DJSON_LIBRARY=NLOHMANN
-
-
Build the project and Run the Application
# Build the project: cmake --build build # Run the Application .\build\Debug\2GD11E_Cremers_Liam_SE_Pokedex.exe