Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →
Top 23 CMake CMake Projects
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
ModernCppStarter
🚀 Kick-start your C++! A template for modern C++ projects using CMake, CI, code coverage, clang-format, reproducible dependency management and much more.
-
CPM.cmake
📦 CMake's missing package manager. A small CMake script for setup-free, cross-platform, reproducible dependency management.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
cpp-project
Boiler plate template for C++ projects, with CMake, Doctest, Travis CI, Appveyor, Github Actions and coverage reports.
-
project_options
A general-purpose CMake library that provides functions that improve the CMake experience following the best practices.
-
moderncpp-project-template
A Modern C++ cross-platform Project Template with CMake, conan (optional), cppcheck (optional) and clang-format (optional)
-
cmake-git-version-tracking
Embed Git metadata in a C/C++ compatible static library using CMake (e.g. commit ID, author, date, and message).
-
GLFW-CMake-starter
Use CMake to create a project with GLFW - Multi-platform Windows, Linux and MacOS.
-
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)
-
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.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
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...
I like to pin GitHub dependencies using a commit hash, instead of a tag. You need a recent CPM.cmake file in your project for CPM to work.
https://github.com/friendlyanon/cmake-init This is how you do CMake properly. If you deviate from its install rules you are highly likely to do something wrong.
Okay, so I'm assuming /Users/kadyr is the username for your mac, so let's say you are making an SFML Space Invaders clone. You'd make a directory invaders so it would be /Users/kadyr/invaders then make a CMakeLists.txt file in invaders and copy the contents of the template's [CMakeLists.txt](https://github.com/SFML/cmake-sfml-project/blob/master/CMakeLists.txt) into it. Next, in invaders directory create a build directory [/Users/kadyr/invaders/build] and a src director [/Users/kadyr/invaders/src] to put main.cpp and other code in (this one is just because the template looks for main.cpp in /src -- alternatively you could edit the add_executable() line and remove src/ if you plan to just dump all code into invaders directory). Then run the commands. Just change invaders to whatever you are naming the project and directory you're working on.
CMake CMake related posts
-
Xmake: A modern C/C++ build tool
-
I cant install SFML on Mac
-
CMake install schema for single- and multi-config generators
-
Hi ive been stuck on this error all day and cannot find a solution that works for me anywhere, "fatal error: SFML\Graphics.hpp: No such file or directory #include <SFML\Graphics.hpp>" seems the compiler cannot find the files\ive set up my include incorrectly but i cant see how, any help appreciated
-
C++ Roadmap for Simulation Projects with graphics
-
How does one actually build a C++ project
-
CMakeList.txt, add_executable vs. add_library vs. target_link_libraries vs. target_link_directories
-
A note from our sponsor - InfluxDB
www.influxdata.com | 8 May 2024
Index
What are some of the best open-source CMake projects in CMake? This list will help you:
Project | Stars | |
---|---|---|
1 | Vcpkg | 21,652 |
2 | cmake-examples | 11,961 |
3 | ModernCppStarter | 4,064 |
4 | CPM.cmake | 2,581 |
5 | cmake-init | 1,835 |
6 | ios-cmake | 1,776 |
7 | corrosion | 951 |
8 | cmake-init | 905 |
9 | cmake-raytracer | 798 |
10 | cpp-project | 583 |
11 | python-cmake-buildsystem | 423 |
12 | project_options | 320 |
13 | cmake-sfml-project | 232 |
14 | moderncpp-project-template | 223 |
15 | cmake-git-version-tracking | 190 |
16 | GLFW-CMake-starter | 137 |
17 | Observe | 123 |
18 | asap | 119 |
19 | RustCMake | 109 |
20 | gersemi | 90 |
21 | cmake-embed | 90 |
22 | Qt-CMake-HelloWorld | 87 |
23 | CppCMakeVcpkgTemplate | 81 |
Sponsored