Recommended Compiler: GCC
Recommended Standard: C11
Dependencies:
mkdir bin
cd bin
cmake ..
make
upon successful compilation, the binary executable along with config files are found in release (bin/release) folder.
mkdir bin
cd bin
cmake -DCMAKE_BUILD_TYPE=Debug ..
make
upon successful compilation, the binary executable along with config files are found in debug (bin/debug) folder.
Note: Algoticks is slower in windows compared to Linux version. Windows optimization is being worked on, but is not a priority.
- Install JSON-C
- Install C and C++ support in Visual Studio
- Install Clang
- Ninja Build
include path is set to C:/vcpkg/installed/x64-windows/include in CMakeLists.txt. Edit the path if you installed vcpkg in some other directory.
lib path is set to C:/vcpkg/installed/x64-windows/lib in CMakeLists.txt. Edit the path if you installed vcpkg in some other directory.
mkdir bin
cd bin
cmake -G "Ninja" -DCMAKE_BUILD_TYPE=Release ..
ninja
-V Print Version and Exit.
-H Print this message and Exit.
-D Enable Debug.
-L Indicate datasource is updated in realtime.
--settings [*.JSON] Custom settings file. Default: settings.json
--config [*.JSON] Custom config file. Default: config.json
--benchmark -B [(Optional)[*.JSON] Custom benchmark file. Default: benchmark.json
Algoticks uses check.h Unit Testing Framework for testing.
To run all Tests:
cd tests
cmake .
make
./algoticks_tests
Output:
Running suite(s): Algoticks
100%: Checks: 13, Failures: 0, Errors: 0
Start of development: 13-Jun-2020
Repository made public: 02-Jul-2020
Icons made by Eucalyp from www.flaticon.com
