This project is built with CMake version 3.0.0+ using g++ with support for C++11 and posix threads. Ensure the correct versions of cmake and g++ are installed and added to the system path before continuing.
- Navigate to the
build/directory in the terminal. - Run
cmake ..to configure CMake. This only needs to be done once.- Note: If the build fails or the wrong compiler is used, the generator may need to be specified. To do this, add
-G "<generator name>"to the command. On Windows using MinGW, this would becmake -G "MinGW Makefiles" ... For a full list of generators, runcmake --help. Before running the command again, delete the contents of thebuildfolder.
- Note: If the build fails or the wrong compiler is used, the generator may need to be specified. To do this, add
- Run
cmake --build .to build the project. Do not forget the dot. - Run
./lfcato execute the test program, or./TESTTo execute the unit tests