A Roman number calculator
This is a example project to setup a C/C++ project with autoconf/automake, static/dynamic library, unit test, continuous integration, doxygen doc etc.
Travis | Appveyor | Coverity |
---|---|---|
You need to download the C unit test library check, or C++ unit test libary catch.
To compile the software from distribution file, try
./configure --enable-static --disable-shared --enable-debug --with-libcheck=$(pwd)/../check-0.11.0/
make
For the developer who want to regenerate the Makefile, try
autogen.sh
If you want to generate the document of the project, you may need to install following packages:
doxygen
The command line format is
./src/romancal <left> <op> <right>
where 'left' and 'right' are the Roman numbers, and 'op' is one of '+', '-'.
Run the command to test the Roman Number library:
make check