Installation
Tabulate is a header-only library, making it incredibly easy to integrate into your C++ project. There are several ways to use Tabulate depending on your project setup.Requirements
Tabulate requires C++11 or later. The library supports C++17 features like
std::variant and std::optional when available.- Minimum: C++11 compiler
- Recommended: C++17 or later for optimal performance
- Platform: Cross-platform (Linux, macOS, Windows)
Installation Methods
Choose the method that best fits your project:- Header-Only
- Single Header
- CMake
- Install System-Wide
Header-Only Installation
The simplest way to use Tabulate is to include the library directly in your project.Just add
include/ to your include_directories and you’re ready to go!Compiler Configuration
GCC / Clang
MSVC
Building Examples
Tabulate includes numerous examples in thesamples/ directory. To build them:
Verification
Verify your installation with this simple program:verify.cpp
Next Steps
Quick Start Guide
Now that Tabulate is installed, learn how to create your first table