Skip to content
/ SQLite-- Public

sqlite-- is a C++ project to explore and learn about the functionalities of SQLite. This project aims to implement a subset of core SQLite features from scratch for educational purposes

Notifications You must be signed in to change notification settings

aym-n/SQLite--

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Building and Running the Project

Prerequisites

  • 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.

Building the Project

  1. Create a build directory:

    mkdir build
    • Create the build folder in the main SQLite-- directory
  2. Configure the project:

    cd build
    cmake -S .. -B .
    • This generates the build configuration files for your system.
  3. Build the executable and tests:

    cmake --build .

Running the Project

  • Run the executable:
    ./build/main
    • if this doesnt work, try running ./main eg.db in the build folder.

Running Tests

  • Run the test executable directly:

    ./build/replTests
  • Or, use CTest for a more comprehensive test report:

    cd build
    ctest

About

sqlite-- is a C++ project to explore and learn about the functionalities of SQLite. This project aims to implement a subset of core SQLite features from scratch for educational purposes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •