Embedded C/C++ Interview Notes – A Collection from Major Companies

Embedded C/C++ Interview Notes - A Collection from Major Companies

Comprehensive Notes on Embedded Programming Interviews Compilation of programming-related questions encountered during real job applications at major companies. 2 0 2 5 Based on my personal experiences during embedded interviews at various major companies (including top-tier companies), I am sharing my genuine interview notes for free. I hope everyone pays more attention to programming details. … Read more

CMake Project Management: From Beginner to Expert

CMake Project Management: From Beginner to Expert

Hello everyone! Today I want to share a very practical topic – CMake project management. As a veteran C++ developer with over ten years of experience, I know how important a good build system is in large project development. CMake is such a powerful tool that helps us manage code dependencies and configure compilation options, … Read more

CMake Tutorial: Building C/C++ Projects with Different Generators

CMake Tutorial: Building C/C++ Projects with Different Generators

For CMake, I had always understood it to be a project build tool, until I encountered –build and realized that CMake also unifies the compilation phase across different platforms. To understand CMake‘s build and compile process, one must first understand generators. 1. Generators The CMake generator is responsible for writing input files for the underlying … Read more

Cross-Compiling C and C++ with CMake

Cross-Compiling C and C++ with CMake

Embedded development, especially in SOA (Service Oriented Architecture), often encounters a scenario where part of the business functionality is developed in C and is relatively mature, and there is a desire to reuse it directly. However, the underlying services obtained by the business layer are written in C++. If both need to be placed in … Read more

Detailed Explanation of CMakeLists Syntax Rules

Detailed Explanation of CMakeLists Syntax Rules

Author丨zhanghm1995@blog Source丨https://blog.csdn.net/zhanghm1995/article/details/80902807 Editor丨3D Vision Workshop Basic Syntax Rules CMake requires that a CMakeLists.txt file be created in the main project directory and all subdirectories containing source code. Pay attention to case sensitivity (CM is uppercase, Lists has an uppercase L and do not omit the s). CMake variables are accessed using the ${} syntax, but … Read more

CMake Compilation Tool and Project Building

CMake Compilation Tool and Project Building

Follow the public account “CV Research Society“ Set it as “Starred“, heavy content delivered to you first! Article Guide This article starts with the compilation process of C/C++ code, clarifying the relationship between Make and Makefile, CMake and CMakeLists, and finally providing examples based on the syntax rules of CMakeLists to help everyone become familiar … Read more

How to Write CMakeLists.txt? (Part 1: Basics)

How to Write CMakeLists.txt? (Part 1: Basics)

Click on the “3D Vision Workshop” above and select “Star” Get valuable content delivered promptly The 62nd Article of 3D Vision Workshop This article summarizes the method of writing CMakeLists.txt files on the linux platform. 1 General Modules at the Beginning 1.1 CMake Version Requirement cmake_minimum_required( VERSION 2.8 ) # Project filename loop_closure, can be … Read more

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

Getting Started with CMake: HelloWorld Bin

Getting Started with CMake: HelloWorld Bin

Starting a new series on CMake today, the latest release is on the platform, welcome to join and get first-hand resources. Each issue will be driven by examples and directories, learning step by step, feel free to bookmark and share. Generating Executable Files Assuming we only have a .cc file. Create a CMakeLists.txt file in … Read more