cppfront VS cmake-init-use-pkg-config

Compare cppfront vs cmake-init-use-pkg-config and see what are their differences.

cppfront

CMake wrapper around the cppfront repository (by modern-cmake)

cmake-init-use-pkg-config

Using a dependency that does not support clients using CMake (by friendlyanon)
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.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
cppfront cmake-init-use-pkg-config
4 2
66 4
- -
4.9 2.6
about 2 months ago over 2 years ago
CMake CMake
- -
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.

cppfront

Posts with mentions or reviews of cppfront. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-31.
  • Cpp2 and cppfront – An experimental 'C++ syntax 2' and its first compiler
    7 projects | news.ycombinator.com | 31 Mar 2024
    Any good CMake integration besides https://github.com/modern-cmake/cppfront?
  • Good reasons to NOT use CMake
    6 projects | /r/cpp | 14 Nov 2022
    For another example, the CMake wrapper I wrote for cppfront automatically translates .cpp2 files to .cpp. This is simply impossible in Meson which, again, requires end-users to find the cppfront binary, write a generator rule, and then run it.
  • Using cppfront with Meson
    1 project | /r/cpp | 6 Oct 2022
    And this is the equivalent CMake code using the modern-cmake/cppfront project:
  • Using cpp2/cppfront with CMake
    1 project | /r/cpp | 2 Oct 2022
    cmake_minimum_required(VERSION 3.23) project(example) include(FetchContent) FetchContent_Declare( cppfront GIT_REPOSITORY https://github.com/modern-cmake/cppfront.git GIT_TAG main # or an actual git SHA if you don't like to live dangerously ) FetchContent_MakeAvailable(cppfront) add_executable(main main.cpp2)

cmake-init-use-pkg-config

Posts with mentions or reviews of cmake-init-use-pkg-config. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-11-14.
  • Good reasons to NOT use CMake
    6 projects | /r/cpp | 14 Nov 2022
    You have to realize that the point of using CMake is not entirely about your project, but about downstream users who wish to use CMake as well. If you do not support clients using CMake (i.e. install a CMake package) you are forcing every downstream user to figure your requirements out by themselves, which even for a project with no dependencies is non-trivial: https://github.com/friendlyanon/cmake-init-use-pkg-config
  • cmake-init - The missing CMake project initializer, now with Conan and vcpkg templates!
    4 projects | /r/cpp | 2 Mar 2022
    See this example from the wiki. This one tries to use unofficial vcpkg package nd targets, then falls back to pkg config, then falls back to find_* commands. This is probably more than what you are asking, but you can put anything in the find module, even code that vendors projects, although I highly recommend against any form of vendoring (manual, git, FetchContent, etc). Vendoring only causes problems for packagers.

What are some alternatives?

When comparing cppfront and cmake-init-use-pkg-config you can also consider the following projects:

meson-brainfuck - A proof that Meson is actually Turing-Complete

cmake-init - The missing CMake project initializer

ProxImaL - A domain-specific language for image optimization.

cmake-init-fetchcontent - Example for optionally vendoring using FetchContent

meson - The Meson Build System

cmake_format - Source code formatter for cmake listfiles.