BusTub is a disk-oriented relational database management system built at Carnegie Mellon University for the Introduction to Database Systems (15-445/645) course.
As for November 30, 2021.
To ensure that you have the proper packages on your machine, run the following script to automatically install them.
Note: This script will install gtest using vcpkg.
$ sudo build_support/packages.sh
Then run the following commands to build the system:
$ mkdir build
$ cd build
$ cmake -DCMAKE_BUILD_TYPE=Debug -GNinja ..
$ ninja
$ .\build_support\packages.bat
Use visual studio to open the folder, then you're done.
Note: The version of visual studio I am using is Visual Studio Community 2022 preview
$ cd build
$ ninja format
$ cd build
$ ninja check-lint
$ ninja check-clang-tidy
$ cd build
$ ninja check-tests