Getting Started with CMake for Large Projects

Getting Started with CMake for Large Projects

Most open-source storage systems are built on the Linux operating system. This article introduces storage technology while also covering some Linux content, focusing on practicality. It will be helpful for both application development and kernel understanding. When our project consists of thousands of files, manually writing a Makefile will be a nightmare. Fortunately, CMake helps … Read more

CMake Tutorial: Supporting GDB Debugging

CMake Tutorial: Supporting GDB Debugging

Table of Contents 1. Introduction 2. How to Support GDB Debugging 3. Code Examples [1] Write demo.c [2] Write CMakeLists.txt [3] Compile [4] GDB Debugging 1. Introduction The combination of CMake and GDB indeed makes the development work of C or C++ easier, enabling cross-platform project builds and source-level debugging. This article details how to … Read more

Overview of CMake Project Build Process

Overview of CMake Project Build Process

One-Click Three Connections,Continuous Valuable Content! Introduction Guite Embedded focuses on sharing knowledge about embedded software and hardware. 1 First Build – First, execute CMake in the project root directory to generate the Makefile or other build tool files required for the build system. This is typically done by running a command like `cmake /path/to/source`. – … Read more

Understanding the Relationship Between GCC, CMake, Make, and Ninja

Understanding the Relationship Between GCC, CMake, Make, and Ninja

1. The Birth of GCC! In 1985, on a dark night where one could hardly see their hand in front of their face, a bearded, short-statured man with long, unkempt hair began to write a C language compiler. This man later became known as the “greatest programmer” and the “father of free software,” Richard Stallman. … Read more

Beginner’s Guide to Buildroot: An Easy Start

Beginner's Guide to Buildroot: An Easy Start

Using Buildroot makes building embedded Linux systems more convenient. What is Buildroot? Buildroot is an open-source embedded Linux system automatic build framework on the Linux platform. The entire Buildroot consists of Makefile scripts and Kconfig configuration files. You can configure Buildroot and modify it using menuconfig to compile a complete Linux system software that can … Read more

Embedded Linux System Automatic Build Framework

Embedded Linux System Automatic Build Framework

Scan to FollowLearn Embedded Together, let’s learn and grow together Using Buildroot makes building embedded Linux systems more convenient. 1. What is Buildroot? Buildroot is an open-source automatic build framework for embedded Linux systems on the Linux platform. The entire Buildroot consists of Makefile scripts and Kconfig configuration files. You can configure Buildroot and modify … Read more