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

A Complete Guide to Using CMake

A Complete Guide to Using CMake

Scan to FollowLearn Embedded Together, Learn Together, Grow Together Hello everyone, I previously shared some articles related to makefiles: Make Command Tutorial | A Hands-On Guide to Makefile Linux Kernel Makefile Execution Process Some General Makefile Templates Today, I am sharing an article about CMake, which can generate local Makefiles without having to write complex … 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

Comparison Analysis of Build Tools: XMake and CMake

Comparison Analysis of Build Tools: XMake and CMake

Syntax Comparison Empty Project XMake target("test") set_kind("binary") add_files("src/main.c") CMake add_executable(test "") target_sources(test PRIVATE src/main.c) Adding Source Files XMake XMake supports wildcard matching to add a batch of source files. *.c matches all files in the current directory, while **.c matches all files in recursive directories. This method saves time as there’s no need to modify … Read more

Master CMake for Building Static and Dynamic Libraries

Master CMake for Building Static and Dynamic Libraries

1. Task Explain the process of building static and dynamic libraries with CMake in a simple and understandable way using examples. Tasks: Create a static library and a dynamic library, providing the HelloFunc function for use in other programs, which outputs the string ‘Hello World!’ to the terminal. Install header files and shared libraries. Write … Read more

The First CMake Theory and Practice Video Tutorial is Here!

The First CMake Theory and Practice Video Tutorial is Here!

Click on “Computer Vision Life” above, and select “Star” Quickly get the latest valuable content CMake is a very useful cross-platform automation build tool that programmers have encountered to some extent. Here are some comments about CMake: CMake no longer makes you feel close to collapse when building projects Write once, run everywhere An automation … Read more

Compiling and Debugging Fluent UDF with Visual Studio and CMake

Compiling and Debugging Fluent UDF with Visual Studio and CMake

This article introduces the method of compiling and debugging Fluent UDF using Visual Studio and CMake. Note: This article refers to the article published by <span>Jiaoran Today What to Play</span> at https://zhuanlan.zhihu.com/p/492619039, and I extend my highest respect to the author’s spirit of sharing. ” There are many methods for compiling Fluent UDF. As a … Read more