A toy embedded relational database.
- Create Table to create with only primary index and non-null integer keys
- Simple INSERTs to add 1 record
- Simpe SELECTs with upto 1 WHERE clause.
The project uses vcpkg to manage dependencies and builds using cmake. Additionaly it needs following tools:
- autoconf
- automake
- pkg-config
First install vcpkg:
git clone https://github.com/microsoft/vcpkg.git
cd vcpkg
./bootstrap-vcpkg.sh
Integrate vcpkg with cmake:
./vcpkg integrate install
The dependencies are frozen at the vcpkg commit as specified by builtin-baseline
in vcpkg.json.
To install dependencies locally, run in project root:
<path_to_vcpkg> install
run cmake from PROJECT_ROOT/build:
mkdir build
cd build
cmake -DCMAKE_TOOLCHAIN_FILE=/path_to_vcpkg/vcpkg/scripts/buildsystems/vcpkg.cmake ..
make