Quick Start Guide to CMake

Quick Start Guide to CMake

Link: https://www.hahack.com/codes/cmake/ Recommended: Hello Series | CMake Brief Basics What is CMake You may have heard of several Make tools, such as GNU Make, QT’s qmake, Microsoft’s MS nmake, BSD Make (pmake), Makepp, etc. These Make tools follow different specifications and standards, and the Makefile formats they execute vary widely. This brings a serious problem: … Read more

Essential Guide to Managing C++ Projects with CMake

Essential Guide to Managing C++ Projects with CMake

1. Background CMake is a product derived from the development of several toolkits (VTK) by Kitware and some open-source developers, ultimately forming a system and becoming an independent open-source project. Its official website is cmake.org, where you can find more information about CMake. It is a cross-platform build tool that can describe the build process … Read more

Design Concepts and Usage of Modern CMake Tools

Design Concepts and Usage of Modern CMake Tools

Link: https://ukabuer.me/blog/more-modern-cmake/ For C/C++ developers, managing projects often becomes quite tricky when it comes to complex third-party dependencies, especially when cross-platform development is required. CMake, as a cross-platform build process management tool, provides mature solutions for finding and introducing third-party dependencies, creating build systems, testing programs, and installation. By writing a CMakeLists.txt file once and … Read more

A Concise Guide to Managing C++ Projects with CMake

A Concise Guide to Managing C++ Projects with CMake

1. Background CMake is a product developed by Kitware and some open-source developers during the development of several toolkits (VTK), which ultimately formed a system and became an independent open-source project. Its official website is cmake.org, where more information about CMake can be found. It is a cross-platform build tool that can describe the build … Read more

CMake Tutorial: Building and Managing Projects

CMake Tutorial: Building and Managing Projects

Click the above“Mechanical and Electronic Engineering Technology” to follow us CMake is a free, cross-platform build tool designed for building, testing, and packaging software. CMake is used to control the compilation process of software using simple platform and compiler independent configuration files. CMake generates native makefiles and workspaces that can be used with your chosen … Read more

The Essential C/C++ Build Tool: Mastering CMake

The Essential C/C++ Build Tool: Mastering CMake

Book Giveaway at the End Part.1 How Many Pitfalls Have You Encountered in C/C++ Builds? For those involved in C/C++ development, have you ever faced frustrating build failures? A project builds perfectly in your development environment, but fails in another environment. Or perhaps an open-source project throws an error when you try to build it … Read more

C++ std::filesystem: Elegantly Handling Files and Paths

C++ std::filesystem: Elegantly Handling Files and Paths

Handling files and paths is a frequent task in any programming language. In C++, we used to rely on platform-specific APIs (such as CreateFile on Windows or open in POSIX) to accomplish this. This approach was not only cumbersome but also required consideration of cross-platform compatibility issues. The good news is that with the introduction … Read more

How to Choose an IoT Operating System?

How to Choose an IoT Operating System?

The Internet of Things (IoT) can be roughly divided into four layers: the perception layer, network layer, device management layer, and application layer. Among these, the **perception layer** most vividly reflects the characteristics of IoT. The perception layer consists of various sensors, protocol conversion gateways, communication gateways, and smart terminals. Most of these terminals are … Read more

An Analysis of the Differences Between CMake and Make

An Analysis of the Differences Between CMake and Make

CMake and Make are both software build systems that involve converting source code into executable programs. Both CMake and Make are tools designed to automate the build process, helping developers save time and effort. Below is a brief introduction to their differences. 1. How Does Make Work? Controls the generation of executable files and other … Read more

CMake: Detecting Environment

CMake: Detecting Environment

Introduction: Through previous studies, we have mastered the basic knowledge of CMake and C++. Although CMake is cross-platform, sometimes the source code is not entirely portable. To ensure that our source code can be cross-platform, configuring and/or building the code according to different platforms is an essential part of the project build process. ✦ Detecting … Read more