vcpkg_template
cmake-examples
Our great sponsors
vcpkg_template | cmake-examples | |
---|---|---|
1 | 25 | |
7 | 11,944 | |
- | - | |
0.0 | 0.0 | |
almost 3 years ago | about 2 months ago | |
CMake | CMake | |
Boost Software License 1.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
vcpkg_template
-
Using CMake and managing dependencies
Actually they fixed most your gripes with the new vcpkg.json feature (manifests or whatever they call it). It’s now enough to have vcpkg.json and include https://github.com/build-cpp/vcpkg_template/blob/simplified-vscode/cmake/vcpkg.cmake before/after your project() call. Everything will be built in your build folder and nothing global anymore 🎉
cmake-examples
-
Anyone else get frustrated when a block of time you wanted to spend to learning code instead goes into why some software isn’t working right on your computer?
The downside for CMake is that it’s famously crappy in its own way and the internet is full of bad examples. This isn’t terrible: https://github.com/ttroy50/cmake-examples/blob/master/01-basic/H-third-party-library/CMakeLists.txt
- Thom Troy's CMake examples.
-
confusion when trying to understand the use cases of dynamic and static libraries
I found a github repo I'm going to use as tutorial: https://github.com/ttroy50/cmake-examples
-
Please review my code (2.0)
And one of the best ressources ever to get started with Cmake is this repo: https://github.com/ttroy50/cmake-examples
- help with making a cmake file
- How do I link fmt library to my project?
-
CMAKE for Beginners
I would recommend having a look at this repository
- Using Visual Studio for Cpp Dev
-
IDE recommendations and usage
For projects with external dependencies, I suggest starting with a lightweight editor like Atom, Sublime Text or VSCode without plugins. Try building with command line CMake, see here for some basics: https://github.com/ttroy50/cmake-examples
- Issues setting up environment on Linux Ubuntu
What are some alternatives?
cmake-sfml-project - Repository template for SFML projects using CMake
utility-boilerplate-qt - 🚀Boilerplate for C++ utility application based on Qt5
corrosion - Marrying Rust and CMake - Easy Rust and C/C++ Integration!
ModernCppStarter - 🚀 Kick-start your C++! A template for modern C++ projects using CMake, CI, code coverage, clang-format, reproducible dependency management and much more.
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.
cmake-git-version-tracking - Embed Git metadata in a C/C++ compatible static library using CMake (e.g. commit ID, author, date, and message).
cmake-init - The missing CMake project initializer
Google Test - GoogleTest - Google Testing and Mocking Framework
Vcpkg - C++ Library Manager for Windows, Linux, and MacOS
CMake - Mirror of CMake upstream repository
pybind11 - Seamless operability between C++11 and Python