CMake CPP

Open-source CMake projects categorized as CPP

Top 23 CMake CPP Projects

  1. Vcpkg

    C++ Library Manager for Windows, Linux, and MacOS

    Project mention: Xmake: A modern C/C++ build tool | news.ycombinator.com | 2024-05-04

    re: C/C++ development: anybody using conda/pixi for dependency management? Here's an example of compiling a C++ SDL program using pixi and the SDL dependency from conda-forge [1].

    Seems viable as a replacement for things like vckpg [2] which only builds from source.

    I'm still researching this but it seems like rattler [3] is the tool to use to build/publish packages. The supported repos are: prefix.dev's own hosting, anaconda.org, artifactory or a self-hosted server.

    --

    1: https://github.com/prefix-dev/pixi/blob/main/examples/cpp-sd...

    2: https://github.com/microsoft/vcpkg

    3: https://prefix-dev.github.io/rattler-build/latest/authentica...

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. cmake-examples

    Useful CMake Examples

  4. ModernCppStarter

    🚀 Kick-start your C++! A template for modern C++ projects using CMake, CI, code coverage, clang-format, reproducible dependency management and much more.

  5. CPM.cmake

    📦 CMake's missing package manager. A small CMake script for setup-free, cross-platform, reproducible dependency management.

    Project mention: The Two Factions of C++ | news.ycombinator.com | 2024-11-24

    Have you taken a look at CPM ? https://github.com/cpm-cmake/CPM.cmake . It makes CMake project management easy - no need for separate package manager tool.

  6. cmake-init

    The missing CMake project initializer

    Project mention: CMake-init – The missing CMake project initializer | news.ycombinator.com | 2024-07-16
  7. ios-cmake

    A CMake toolchain file for iOS/iPadOS, visionOS, macOS, watchOS & tvOS C/C++/Obj-C++ development

    Project mention: The Comprehensive Guide to Using C/C++ in Flutter — Part I | dev.to | 2024-08-27
  8. corrosion

    Marrying Rust and CMake - Easy Rust and C/C++ Integration!

  9. cpp-project

    Boiler plate template for C++ projects, with CMake, Doctest, Travis CI, Appveyor, Github Actions and coverage reports.

  10. project_options

    A general-purpose CMake library that provides functions that improve the CMake experience following the best practices.

  11. cmake-git-version-tracking

    Embed Git metadata in a C/C++ compatible static library using CMake (e.g. commit ID, author, date, and message).

  12. GLFW-CMake-starter

    Use CMake to create a project with GLFW - Multi-platform Windows, Linux and MacOS.

  13. NovusCore

    A modern take on MMO Engine design and architecture.

  14. asap

    A modern cmake starter project for C++ with a complete build lifecycle, testing, dependency management, etc. Portable across Linux, OS X and Windows. (by abdes)

  15. Observe

    📣 Hey listen! A simple general-purpose event-listener system for C++17.

  16. CppCMakeVcpkgTemplate

    A template project to build a C++/CMake/vcpkg based projects with IDE and GitHub Actions. Build is sped up with caching of artifacts.

  17. cmake-embed

    CMake script for embedding resources in binaries.

  18. StaticTypeInfo

    🏀 Up your type-game. A small C++ library for compile-time type names and type indices.

  19. flextool

    C++ compile-time programming (serialization, reflection, code modification, enum to string, better enum, enum to json, extend or parse language, etc.)

  20. tolc

    A bindings compiler for C++

  21. vcpkg-cmake-integration

    Vcpkg autoinstaller for CMake: Fetch Vcpkg (with versioning), bootstrap Vcpkg, install packages from `vcpkg.json`-manifest or individually from within CMake

  22. cpp-cmake-template

    Template for a C++ CMake project, using Github Actions and CTest.

  23. QtWindowsCMake

    💻 CMake macro to deploy and create installer for Qt application on windows.

  24. asap-textwrap

    Text wrapper and column formatter for C++.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

CMake CPP discussion

Log in or Post with

CMake CPP related posts

  • CMake-init – The missing CMake project initializer

    1 project | news.ycombinator.com | 16 Jul 2024
  • CMake install schema for single- and multi-config generators

    2 projects | /r/cpp | 6 Dec 2023
  • How does one actually build a C++ project

    3 projects | /r/cpp_questions | 26 May 2023
  • CMakeList.txt, add_executable vs. add_library vs. target_link_libraries vs. target_link_directories

    1 project | /r/cpp_questions | 23 May 2023
  • Clang++ Halp

    1 project | /r/cpp_questions | 15 May 2023
  • Putting libraries in program folder

    1 project | /r/cpp_questions | 15 May 2023
  • CMake and Linking External libraries is a kick in the nuts if i've ever seen it.

    4 projects | /r/cpp | 3 May 2023
  • A note from our sponsor - SaaSHub
    www.saashub.com | 20 Jan 2025
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

What are some of the best open-source CPP projects in CMake? This list will help you:

# Project Stars
1 Vcpkg 23,823
2 cmake-examples 12,547
3 ModernCppStarter 4,579
4 CPM.cmake 3,161
5 cmake-init 2,167
6 ios-cmake 1,954
7 corrosion 1,134
8 cpp-project 607
9 project_options 361
10 cmake-git-version-tracking 222
11 GLFW-CMake-starter 164
12 NovusCore 161
13 asap 139
14 Observe 127
15 CppCMakeVcpkgTemplate 116
16 cmake-embed 91
17 StaticTypeInfo 73
18 flextool 41
19 tolc 38
20 vcpkg-cmake-integration 34
21 cpp-cmake-template 34
22 QtWindowsCMake 28
23 asap-textwrap 25

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com

Did you know that CMake is
the 63rd most popular programming language
based on number of references?