Requirements
Before installing Tabular, ensure you have:- C++ Compiler: Supporting C++11 or later
- CMake: Version 3.15 or higher (for CMake installation method)
- Platform: Linux, macOS, or Windows
Installation Methods
Tabular offers two installation methods to fit your project needs:CMake Installation
Full CMake integration with package configuration
Header-Only Include
Direct include for quick setup
Method 1: CMake Installation
Configure the project
Create a build directory and configure the project with CMake:The CMakeLists.txt configures Tabular as an interface library:
Install the library
Install Tabular to your system:This installs:
- Header files to
${CMAKE_INSTALL_INCLUDEDIR}/tabular - CMake config files to
${CMAKE_INSTALL_LIBDIR}/cmake/tabular
Method 2: Header-Only Include
For a quick setup without CMake, you can directly include the header files in your project.Choose your include method
You have two options:Option A: Single-header file (Recommended for simplicity)Download and include the single-header file:Option B: Multiple header filesCopy the entire
include/tabular directory to your project.Tabular is a header-only library, so there’s no need to link against any compiled libraries. Just include the headers and you’re ready to go!
Verify Installation
Create a simple test file to verify your installation:Next Steps
Quick Start Guide
Learn how to create your first table with a step-by-step tutorial