project_options VS setup-cpp

Compare project_options vs setup-cpp and see what are their differences.

project_options

A general-purpose CMake library that provides functions that improve the CMake experience following the best practices. (by aminya)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
project_options setup-cpp
2 2
320 163
- -
8.5 9.2
12 days ago 6 days ago
CMake TypeScript
MIT License Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

project_options

Posts with mentions or reviews of project_options. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-04-15.
  • CMake+Conan2 project template example repositories?
    4 projects | /r/cpp | 15 Apr 2023
    I had been using the project_options repository to bootstrap most of my CMake repositories, but it appears like this is not able to handle Conan2 (due to the usage cmake-conan, on a pre-2.0-compatible version of that repo).
  • The pool of talented C++ developers is running dry
    3 projects | news.ycombinator.com | 2 Nov 2022
    - flags like "-fsanitize=address,leak,undefined -fanalyzer -Wthread-safety -D_FORTIFY_SOURCE=" should be baked in to a default "dev"/"debug" mode newbies shouldn't need to know/think about

    Did you try project_options[0]? I recommend it to all newbies like me. Just set the "enable_developer_mode=true" and you get all that stuff for free.

    > - I have to Google what headers cstd/std stuff comes from half the time

    In Clion you can cmd+click on the symbol and it leads to the header.

    Another recommended resource is https://github.com/cpp-best-practices/

    [0]: https://github.com/aminya/project_options

setup-cpp

Posts with mentions or reviews of setup-cpp. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-05-31.
  • Simplest way to get latest gcc for any platform ?
    3 projects | /r/cpp | 31 May 2023
    I've used this on GitHub actions, but it can be used outside of actions https://github.com/aminya/setup-cpp
  • Setup-Cpp
    2 projects | dev.to | 6 Dec 2021
    Setting up a cross-platform environment for building and testing C++/C projects is a bit tricky. Each platform has its own compilers, and each of them requires a different installation procedure. setup-cpp aims to fix this issue.

What are some alternatives?

When comparing project_options and setup-cpp you can also consider the following projects:

cmake-registry - A cmake modules registry based on vcpkg

gcovr - generate code coverage reports with gcc/gcov

void_switch - 3D printable magnetic separation contactless key switch and stabilizers (OpenSCAD files)

qt-minimalistic-builds - Precompiled x64 Qt 5/6 library in minimalistic configuration for Windows.

cupcake.cmake - CMake boilerplate for an opinionated project structure.

NakOS

gui_starter_template - A template CMake project to get you started with C++ and tooling

ccache - ccache – a fast compiler cache

cmake-init - The missing CMake project initializer

StaticScript - :rocket: TypeScript compiler on top of TypeScript as frontend and LLVM as backend

gz-cmake - A set of CMake modules that are used by the C++-based Gazebo projects.

actions-tagger - A meta-action to keep your action versions up-to-date :rocket: