A simple multi-purpose logging library written in C++
- Ensure a C/C++ compiler is installed on your system. I recommend using
mingw-64for windows and using your package manager's gcc distribution for linux/mac users.
You can google "How to install C++ in [windows/mac/linux]" for more information. - Install CMake Verify installation by running
cmake --version - Now you need to setup your build system, to do so follow these steps:-
For windows users:- If you are using Visual Studio Code, then check out this guide for setting up CMake for vscode
For linux/mac users:- For ubuntu users, runsudo apt-get install build-essentialto installmake. For other distro users, you can install from your respective package managers.
Verify installation by runningmake --version - Now build and run the project
For windows users:- You can use the run button in the taskbar to build and run the project.
For linux/mac users:- Make a new folderbuildin the root directory of project. Cd intobuildand runcmake ..to setup makefiles. Runmaketo build the project. Then finally run the executable with./main.
You can watch these tutorials on difficulties you encounter:-
Basic C++ Tutorial
Object Oriented Programming in C++