Introduction
Subfolder
Install Compiled Products
Installation Commands
Export
Packaging
Export Compile Directory
IntroductionToday’s article can be considered a continuat...
Native CMake Testing Support
GoogleTest
Ref
Today, let’s talk about testing with CMake.
But actually, we are still talking about testing in C++.
CMake provides us with comp...
ExternalProject Practice
vcpkg
Last time we talked about Third-Party Dependency Management and mentioned our team’s use of ExternalProject to manage dependencies. This time...
Dependency Management
CMake find_package
Third-Party Dependency Management
Continuing from the last (CMake Series) Part 1 - Introduction.
This time, let’s talk about depend...
Introduction
Preparation
A Simple Example
A Slightly More Complex Example
Other
Ref
Since the last time I picked up C++ in Why the Order of C++ Static Libraries Matters, I’...
自从上次在为何 C++ 静态链接库顺序很重要捡回了 C++,自此开始了不归路。
今天我们来说说,CMake 这个现代 C++ 项目的利器。
前言为什么我们需要 CMake ? 对于 C++ 开发者来说,他们会习惯于使用 GNU Make 来编译 C++ 项目,对于简单项目来说,这无可厚非,再加上有那么多的开源工具可用,尤其是 autotools 系列,用...