Makefile versus CMake build system

This page summarizes the projects mentioned and recommended in the original post on /r/embedded

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • Bear

    Bear is a tool that generates a compilation database for clang tooling.

    I guess your questionmarks are about installing "bear", he refers to this project: https://github.com/rizsotto/Bear

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • arm-gtest

    This repository contains a sample project for TDD development on ARM devices using Google Test

    The learning curve is really not as steep as it may seem. Using Cmake actually makes the whole build process a lot easier and much more modular allowing you to easily swap in/out different components by including different cmake files or not. I made an example repo not so long ago that demonstrates this: link.

  • areg-sdk

    AREG is a cross-platform asynchronous Object RPC framework to simplify multitasking programming by blurring borders between processes and treating remote objects as if they coexist in the same thread.

    My closer introduction with these 2 tools started from OSS areg sdk project. Because of some experienced friend recommendation, i started with make. The main reason was that it is more spread in embedded. No other weighty argument they had. After having make, i decided to integrate cmake. Suddenly i figured out that cmake for me is more understandable and powerful. It already has many features that makes things easier. The biggest advantage for me is that in comparison to make / Makefile, lot of IDE support build with cmake. The cross-platform / cross-compile for areg-sdk is important feature, and this is easier to achieve with cmake. For example, I can compile with make under Linux with gcc/clang, but under windows can compile in cygwin environment and not with MSVC, which is not the issue in case of cmake.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Bear is a tool that generates a compilation database for Clang tooling

    1 project | news.ycombinator.com | 8 Oct 2024
  • emacs lsp-mode with MPLAB X project

    1 project | /r/emacs | 30 Nov 2023
  • I have an existing legacy build system. How do I leverage this with CLion to index my project?

    1 project | /r/cpp_questions | 1 Jun 2023
  • I hope that cscope can make a comeback in the versions after 0.9

    2 projects | /r/neovim | 8 Apr 2023
  • CLion 2023.1 released

    1 project | /r/cpp | 29 Mar 2023

Did you konow that C++ is
the 6th most popular programming language
based on number of metions?