构建系统¶ 构建系统 语言 教程 CMake C、C++、Fortram、ASM、CUDA、CSharp、SWIFT Modern CMake CMake¶ cmake -S . -B build cmake --build build -j cmake --install build CC=clang CXX=clang++ cmake .. cmake_minimum_required(VERSION 3.15...3.31) project add_executable add_library