cmake-examples
Catch
Our great sponsors
cmake-examples | Catch | |
---|---|---|
25 | 55 | |
11,944 | 17,995 | |
- | 1.1% | |
0.0 | 9.2 | |
2 months ago | 5 days ago | |
CMake | C++ | |
MIT License | Boost Software License 1.0 |
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.
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
Catch
- C++ Comparison Operator Craziness
-
How can I check the execution time of a program rendered in SFML?
https://github.com/catchorg/Catch2 (for unit testing, need to do timing yourself)
- Semi crise existentielle de développeur
-
`DestroyJavaVM()` failing on OpenJ9?
```c++ // https://github.com/catchorg/Catch2/tree/Catch1.x // https://github.com/philsquared/Catch/releases/download/v1.12.2/catch.hpp
-
How do you use the Catch testing library?
Include(FetchContent) FetchContent_Declare(Catch2 GIT_REPOSITORY https://github.com/catchorg/Catch2.git GIT_TAG v3.3.2 ) FetchContent_MakeAvailable(Catch2)
- Tracking the Fake GitHub Star Black Market
- The Little Things: Why you should always have benchmarks ready
-
Trying to add tests for my cmake for catch2 with ctest.
Another possible issue would be the include(Catch) in your root cmakelists.txt . To include Catch there it must be part of your module path. Otherwise you have to include the path to that catch2 cmake file. Here is that file in their repository - https://github.com/catchorg/Catch2/blob/devel/extras/Catch.cmake . I recon that CMake doesn't know about this file since you call find_package(Catch2 REQUIRED) later in your subdirectory
-
Seeking Improve Advice on my C++ Network Library
Unit test coverage by Catch2 framework.
- Catch2 added SKIP (and more built-in matchers)
What are some alternatives?
utility-boilerplate-qt - 🚀Boilerplate for C++ utility application based on Qt5
Google Test - GoogleTest - Google Testing and Mocking Framework
ModernCppStarter - 🚀 Kick-start your C++! A template for modern C++ projects using CMake, CI, code coverage, clang-format, reproducible dependency management and much more.
doctest - The fastest feature-rich C++11/14/17/20/23 single-header testing framework
cmake-git-version-tracking - Embed Git metadata in a C/C++ compatible static library using CMake (e.g. commit ID, author, date, and message).
Boost.Test - The reference C++ unit testing framework (TDD, xUnit, C++03/11/14/17)
CppUTest - CppUTest unit testing and mocking framework for C/C++
CMake - Mirror of CMake upstream repository
Google Mock
pybind11 - Seamless operability between C++11 and Python
CppUnit - C++ port of JUnit