Skip to main content
70 Packages

Package Registry

Discover and install high-quality C/C++ libraries with a single command. All packages are curated and verified for seamless CMake integration.

70Packages
26Categories
69Verified
Showing 70 of 70 packages

argparse

CLIHeader-onlyMIT

Argument Parser for Modern C++

clioptionsparsercommand-line
target: argparse::argparse

asio

NetworkingHeader-onlyBSL-1.0

Cross-platform C++ library for network and low-level I/O programming

networkingasynciosockets
target: asio::asio

backward-cpp

DebuggingHeader-onlyMIT

A beautiful stack trace pretty printer for C++

stacktracedebuggingcrashheader-only
target: Backward::Backward

benchmark

Dev ToolsApache-2.0

A microbenchmark support library

benchmarkperformanceprofilingmicrobenchmark
target: benchmark::benchmark_main

boost-headers

UtilitiesHeader-onlyBSL-1.0

Boost C++ Libraries (header-only subset)

boostheader-onlyutilities
target: Boost::headers

box2d

Game DevMIT

A 2D physics engine for games

physics2dgamesimulation
target: box2d::box2d

bullet3

Game DevZlib

Bullet Physics SDK: real-time collision detection and multi-physics simulation

physics3dgamesimulation
target: Bullet3Common

catch2

Dev ToolsBSL-1.0

A modern, C++-native, test framework for unit-tests

testingunit-testtddbdd
target: Catch2::Catch2WithMain

cereal

EncodingHeader-onlyBSD-3-Clause

A C++11 library for serialization

serializationjsonxmlbinary
target: cereal::cereal

cli11

CLIHeader-onlyBSD-3-Clause

Command line parser for C++11 and beyond with subcommands and validation

clioptionsparsercommand-line
target: CLI11::CLI11

concurrentqueue

ConcurrencyHeader-onlyBSD-2-Clause

A fast multi-producer, multi-consumer lock-free concurrent queue

queuelock-freeconcurrentheader-only
target: concurrentqueue

cpr

NetworkingMIT

C++ Requests: Curl for People - a simple wrapper around libcurl

httpcurlnetworkingrest
target: cpr::cpr

curl

NetworkingMIT

A command line tool and library for transferring data with URL syntax

httpftpnetworkingtransfer
target: CURL::libcurl

cxxopts

CLIHeader-onlyMIT

Lightweight C++ command line option parser

clioptionsparsercommand-line
target: cxxopts::cxxopts

date

UtilitiesHeader-onlyMIT

Howard Hinnant's date and time library (basis for C++20 chrono)

datetimechronoheader-only
target: date::date

doctest

Dev ToolsHeader-onlyMIT

The fastest feature-rich C++11/14/17/20/23 single-header testing framework

testingunit-testheader-onlytdd
target: doctest::doctest

eigen

MathHeader-onlyMPL-2.0

C++ template library for linear algebra: matrices, vectors, numerical solvers

mathlinear-algebramatrixheader-only
target: Eigen3::Eigen

entt

Game DevHeader-onlyMIT

Gaming meets modern C++ - a fast and reliable entity component system (ECS)

ecsentitycomponentgame
target: EnTT::EnTT

flatbuffers

EncodingApache-2.0

Memory Efficient Serialization Library

serializationbinaryschemazero-copy
target: flatbuffers::flatbuffers

fmt

Text ProcessingMIT

A modern formatting library for C++

formattingstringsprintfiostream
target: fmt::fmt

freetype

GraphicsFTL

FreeType is a freely available software library to render fonts

fonttextrenderingtruetype
target: Freetype::Freetype

ftxui

TerminalMIT

C++ Functional Terminal User Interface

terminaltuiuifunctional
target: ftxui::screen;ftxui::dom;ftxui::component

glad

GraphicsMIT

Multi-Language GL/GLES/EGL/GLX/WGL Loader-Generator

openglgraphicsloadervulkan

glfw

GraphicsZlib

A multi-platform library for OpenGL, OpenGL ES, Vulkan, window and input

openglvulkanwindowinput
target: glfw

glm

MathHeader-onlyMIT

OpenGL Mathematics (GLM) header-only math library for graphics software

mathgraphicsopengllinear-algebra
target: glm::glm

googletest

Dev ToolsBSD-3-Clause

Google's C++ testing and mocking framework

testingunit-testmockinggtest
target: GTest::gtest_main

grpc

NetworkingApache-2.0

The C based gRPC (C++, Python, Ruby, Objective-C, PHP, C#)

rpcprotobufnetworkingmicroservices
target: gRPC::grpc++

gsl

UtilitiesHeader-onlyMIT

Guidelines Support Library - implementation of C++ Core Guidelines types

guidelinesspannot_nullheader-only
target: Microsoft.GSL::GSL

httplib

NetworkingHeader-onlyMIT

A C++ header-only HTTP/HTTPS server and client library

httphttpsserverclient
target: httplib::httplib

imgui

GUIMIT

Bloat-free Graphical User interface for C++ with minimal dependencies

guiuiimmediate-modegraphics

indicators

TerminalHeader-onlyMIT

Activity Indicators for Modern C++ (progress bars, spinners, etc.)

progressterminalspinnerheader-only
target: indicators::indicators

libpng

GraphicsLibpng

The official PNG reference library

imagepngencodingdecoding
target: PNG::PNG

libuv

AsyncMIT

Cross-platform asynchronous I/O library

asyncioevent-loopnetworking
target: uv

lz4

CompressionBSD-2-Clause

Extremely Fast Compression algorithm

compressionfastlossless
target: lz4::lz4

magic_enum

UtilitiesHeader-onlyMIT

Static reflection for enums (to string, from string, iteration) for modern C++

enumreflectionheader-onlymeta
target: magic_enum::magic_enum

miniaudio

AudioHeader-onlyMIT

Audio playback and capture library in a single source file

audiosoundsingle-headerheader-only

msgpack

EncodingHeader-onlyBSL-1.0

MessagePack implementation for C/C++ (efficient binary serialization)

serializationbinarymessagepack
target: msgpack-cxx

nameof

UtilitiesHeader-onlyMIT

Nameof operator for modern C++, simply obtain the name of a variable, type, function, macro, and enum

reflectionnameofcompile-timeheader-only
target: nameof::nameof

nanobench

TestingHeader-onlyMIT

Simple, fast, accurate single-header microbenchmarking functionality for C++11/14/17/20

benchmarkperformancetestingheader-only
target: nanobench

nlohmann-json

ParserHeader-onlyMIT

JSON for Modern C++

jsonserializationparsingheader-only
target: nlohmann_json::nlohmann_json

openal-soft

AudioLGPL-2.0

OpenAL Soft is a software implementation of the OpenAL 3D audio API

audio3dsoundopenal
target: OpenAL::OpenAL

opencv

Computer VisionApache-2.0

Open Source Computer Vision Library

computer-visionimage-processingmachine-learning
target: opencv_core;opencv_imgproc;opencv_highgui

parallel-hashmap

Data StructuresHeader-onlyApache-2.0

A set of very fast and memory-friendly hashmap and btree containers

hashmaphashtablebtreeheader-only
target: phmap

protobuf

EncodingBSD-3-Clause

Protocol Buffers - Google's data interchange format

serializationprotocol-buffersencoding
target: protobuf::libprotobuf

pugixml

ParsingMIT

Light-weight, simple and fast XML parser for C++ with XPath support

xmlparserxpath
target: pugixml::pugixml

pybind11

ScriptingHeader-onlyBSD-3-Clause

Seamless operability between C++11 and Python

pythonbindingscriptingheader-only
target: pybind11::pybind11

quill

LoggingMIT

Asynchronous Low Latency C++ Logging Library

loggingasynclow-latencyperformance
target: quill::quill

range-v3

AlgorithmsHeader-onlyBSL-1.0

Range library for C++14/17/20, basis for C++20's std::ranges

rangesfunctionalalgorithmsheader-only
target: range-v3::range-v3

rapidjson

ParsingHeader-onlyMIT

A fast JSON parser/generator for C++ with both SAX/DOM style API

jsonparserserializationheader-only
target: rapidjson

raylib

Game DevZlib

A simple and easy-to-use library to enjoy videogames programming

graphicsgameopenglsimple
target: raylib

robin-hood-hashing

Data StructuresHeader-onlyMIT

Fast & memory efficient hashtable based on robin hood hashing

hashmaphashtableperformanceheader-only
target: robin_hood::robin_hood

scope_guard

UtilitiesHeader-onlyUnlicense

A modern C++ scope guard that is easy to use but hard to misuse

raiiscopeguardheader-only
target: scope_guard

sdl2

Game DevZlib

Simple DirectMedia Layer - cross-platform multimedia library

graphicsaudioinputgame
target: SDL2::SDL2

simdjson

ParsingApache-2.0

Parsing gigabytes of JSON per second using SIMD instructions

jsonparsersimdperformance
target: simdjson::simdjson

sol2

ScriptingHeader-onlyMIT

A C++ <-> Lua API wrapper with advanced features and top notch performance

luascriptingbindingheader-only
target: sol2::sol2

spdlog

Dev ToolsMIT

Fast C++ logging library

logginglogasyncformatting
target: spdlog::spdlog

sqlite-modern-cpp

DatabaseHeader-onlyMIT

A modern C++ wrapper around sqlite library

databasesqlsqliteheader-only
target: sqlite_modern_cpp

sqlite3

DatabasePublic Domain

SQLite is a C-language library that implements a small, fast, self-contained SQL database

databasesqlembedded
target: sqlite3

stb

GraphicsHeader-onlyMIT

Single-file public domain libraries for C/C++ (image, audio, font, etc.)

imageaudiofontheader-only

tabulate

TerminalHeader-onlyMIT

Table Maker for Modern C++ (formatted tables in terminal)

tableterminalformattingheader-only
target: tabulate::tabulate

taskflow

ConcurrencyHeader-onlyMIT

A fast C++ header-only library for task-based parallel programming

parallelconcurrencyasynctask
target: Taskflow::Taskflow

tinyxml2

ParsingZlib

A simple, small, efficient C++ XML parser

xmlparserlightweight
target: tinyxml2::tinyxml2

tl-expected

UtilitiesHeader-onlyCC0-1.0

C++11/14/17 std::expected with functional-style extensions

expectederror-handlingfunctionalheader-only
target: tl::expected

tomlplusplus

ParsingHeader-onlyMIT

Header-only TOML config file parser and serializer for C++17

tomlparserconfigserializer
target: tomlplusplus::tomlplusplus

utf8cpp

TextHeader-onlyBSL-1.0

UTF-8 with C++ in a Portable Way

utf8unicodeencodingheader-only
target: utf8cpp

vulkan-headers

GraphicsHeader-onlyApache-2.0

Vulkan Header files and API registry

vulkangraphicsgpuheader-only
target: Vulkan::Headers

websocketpp

NetworkingHeader-onlyBSD-3-Clause

C++ websocket client/server library

websocketnetworkingserverclient
target: websocketpp::websocketpp

yaml-cpp

ParsingMIT

A YAML parser and emitter in C++

yamlparserconfig
target: yaml-cpp::yaml-cpp

zlib

CompressionZlib

A massively spiffy yet delicately unobtrusive compression library

compressiondeflategzip
target: ZLIB::ZLIB

zstd

CompressionBSD-3-Clause

Zstandard - Fast real-time compression algorithm

compressionfastlossless
target: zstd::libzstd

Can't find what you need?

Contribute to the cforge ecosystem by adding your favorite C/C++ libraries to the registry.