This is the source code of our data structure project for the 4th semester of CUPGE. For more information and a user guide, head over to our documentation.
Before running the program, you must install all external dependencies needed by the project with :
make installNote This program will install jansson library to your system thus require super user authorization.
It is advised to check all the unit tests of model library in case something went wrong during the installation. To do so, type :
make testsTo start the project, just open your terminal and type :
makeThis will automatically compile all the files needed by the program then executes it.
However if you want a more detailed step, this command first compile all the librairies with :
make initThen compile and run the app program with :
make startHowever, if you want a debug version of the program, type :
make debugIf you want to remove all the clutter the script did and start from fresh, type :
make pruneThe model library have unit tests if you want to check in. To start one, type :
make test/model/{name-of-file-without-extension}Example :
make test/model/enseignantto run enseignant.c unit tests
© 2022 Mihaja RAZAFIMAHEFA & Ambre ROUZADE