CMake Practical Tutorial (Part 2)

CMake Practical Tutorial (Part 2)

Introduction From the previous article, I believe everyone has understood what CMake is, but it’s not something you can master just by looking at it; you need to practice in order to learn it. If you have already practiced, you will realize how difficult it is to use the content from the last article in … Read more

CMake Template for Simple Projects

CMake Template for Simple Projects

CMake can be seen as a tool for automatically generating Makefiles, but it is actually a programming language with a scripting style: Cross-platform support: CMake supports multiple operating systems and compilers, allowing the same build configuration to be used in different environments. Simplified configuration: Through the CMakeLists.txt file, users can define project structure, dependencies, compilation … Read more

CMake Practical Guide (Part One)

CMake Practical Guide (Part One)

Click the blue text above to follow us Introduction Previously, we introduced the use of Autotools; today we will look at how to use CMake. CMake is a project build tool, similar to Autotools. It can be simply understood as a tool that helps us generate Makefiles for easier compilation. Usage Example (1) Create main.c, … Read more

Getting Started with CMake Build Tool

Getting Started with CMake Build Tool

Getting Started with CMake Build Tool Hello everyone, today I want to share with you a very practical tool – CMake. As a programmer, I understand the importance of managing and building code when developing large projects. CMake is like a project management assistant that helps us handle complex issues such as code compilation and … Read more

Introduction to CMake Basics

Introduction to CMake Basics

This article mainly refers to this link. 1. CMake Compilation Principles CMake is a cross-platform build tool that is more advanced than make and much easier to use. CMake primarily involves writing a CMakeLists.txt file and then using the cmake command to convert it into a makefile required by make. Finally, the make command compiles … Read more

How to Change the Compiler in Keil MDK?

How to Change the Compiler in Keil MDK?

Follow+Star Public Account, don’t miss out on wonderful content Author | strongerHuang WeChat Public Account | strongerHuang Some readers do not want to change the version of Keil MDK but wish to upgrade to a higher version of the compiler. For example: using Keil MDK version V5.32, the default compiler version is V6.14.1. If I … Read more

PLC Programming: The Core Tool of the Industrial Intelligence Era

PLC Programming: The Core Tool of the Industrial Intelligence Era

Click the blue text to follow us In today’s wave of industrial intelligence, PLC (Programmable Logic Controller) plays a crucial role as a core tool in the field of industrial automation. Through PLC programming, industrial production lines can achieve intelligent and precise control, thereby improving production efficiency, reducing costs, and realizing the goal of intelligent … Read more

Differences Between PLC Instruction List IL and Assembly Language Programming

Differences Between PLC Instruction List IL and Assembly Language Programming

The PLC Instruction List (IL) and assembly language have significant differences in programming. Here is a detailed comparison of the two: 1. Definition and Use• PLC Instruction List (IL): • It is a commonly used text-based programming language in PLC (Programmable Logic Controller) programming. • It represents control programs in a list of instructions similar … Read more

Should You Start Programming with Assembly Language?

Should You Start Programming with Assembly Language?

As a programmer, what was the first programming language you encountered and learned? According to the “2021-2022 China Developer Survey Report,” the long-established assembly language is the most disliked programming language among programmers (37%), followed by C++ (17%) and C (16%). As a machine-oriented programming language, assembly language is indeed very precise, but it is … Read more