- CMake: Ensure you have CMake (version 3.20 or later) installed on your system.
- C++ Compiler: A compatible C++ compiler (e.g., GCC, Clang) is also required.
-
Create a build directory:
mkdir build
- Create the build folder in the main SQLite-- directory
-
Configure the project:
cd build cmake -S .. -B .
- This generates the build configuration files for your system.
-
Build the executable and tests:
cmake --build .
- Run the executable:
./build/main
- if this doesnt work, try running ./main eg.db in the build folder.
-
Run the test executable directly:
./build/replTests
-
Or, use CTest for a more comprehensive test report:
cd build ctest