You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
1 year ago | |
---|---|---|
protocol_buffers_definitions | 1 year ago | |
recordings | 1 year ago | |
src | 1 year ago | |
tests | 1 year ago | |
.gitignore | 1 year ago | |
CMakeLists.txt | 1 year ago | |
README.md | 1 year ago | |
assignment.pdf | 1 year ago | |
build.sh | 1 year ago | |
install_deps.sh | 1 year ago |
README.md
ESRI C++ code assignment
Requirements
The requirements specification is provided in assignment.pdf
.
Design remarks
For sake of simplicity most of validation and error handling is performed during loading the input files.
Setup
Execute the bash script install_deps.sh
on a Debian GNU/Linux system to install
the required dependencies.
The protobuf dependencies are installed as Debian packages. All other dependencies are installed using the CMake FetchContent feature.
Build
Execute the bash script build.sh
to perform both build and testing steps.
The overall process is implemented using CMake. The application artifact is located
at build/src/main
.
Usage
The command-line parameters can be passed as follows:
main <input-file[s]> <json-ouput-file>
- At least one input-file and json-ouptut-file must be provided.
- Multiple input-files are supported.
Links
- Protobuf
- Json C++ library
- Catch2 unit testing framework