首页
AIGC
LLM
C++
CMake
关于我
柳絮飘 - AIGC, LLM大模型以及C++分享网站
学习,让淘汰成为一个借口!
累计撰写
5
篇文章
累计创建
3
个标签
累计收到
0
条评论
栏目
目 录
CONTENT
最新文章
2025-05-23
登堂入室C++--基础数据类型
本文系统梳理了C++中的基础数据类型,包括void、nullptr_t、布尔、字符、整数与浮点类型,结合底层存储结构和跨平台特性进行深入讲解。通过精确位宽类型(如int32_t)、字符编码(如char8_t)和IEEE 754浮点标准的解析,帮助读者理解各类型在实际开发中的应用与选型策略。适合希望夯实C++基础的开发者阅读。
2025-05-23
16
0
0
cplusplus
2025-05-23
登堂入室C++--简介
本文概述了C++的发展历程、语言特性与典型应用场景,强调其实用主义风格及跨平台优势。同时介绍了CMake构建系统、clang-format格式化工具、gtest单元测试框架及常用库,适合初学者构建完整开发环境。
2025-05-23
12
0
0
cplusplus
2025-05-22
I Don't Really Understand CMake--Introduction
This article introduces the basics of using CMake by walking through the setup of a simple C++ project. It covers creating a CMakeLists.txt file, setting the minimum required CMake version (cmake_minimum_required), defining the project name (project), and using the build commands (cmake for configuration and cmake --build for building). The author emphasizes the benefits of using a separate build directory to keep the source directory clean. The content is concise and beginner-friendly, making it ideal for developers who are new to CMake.
2025-05-22
12
0
0
en-cmake
2025-05-22
其实我不懂CMake--生成静态库
本文介绍了如何使用CMake构建C++静态库,包括源文件组织、使用 add_library 创建静态库、设置头文件路径(target_include_directories)以及对象库(OBJECT library)的应用。通过实际示例,帮助读者理解模块化构建思路及CMake的灵活性,适合希望掌握静态库构建流程的开发者。
2025-05-22
14
0
0
CMake
2025-05-21
其实我不懂CMake--简单入门
本文通过搭建一个简单的C++项目,讲解了CMake的基础使用方法,包括创建 CMakeLists.txt 文件、设置最低CMake版本(cmake_minimum_required)、定义项目名称(project)以及构建命令的使用流程(cmake 配置与 cmake --build 构建)。文章特别强调使用独立 build 目录的优势,有助于保持源码目录整洁。内容简洁明了,适合零基础或刚接触CMake的开发者快速理解项目构建的基本流程。
2025-05-21
44
0
2
CMake