|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/master_cmake/
课程评论:没有评论
Coursera 课程《精通 CMake:跨平台 C++ 项目构建》内容总结 本课程旨在帮助初学者轻松掌握 CMake,从基础概念到高级应用,成为 C++ 项目构建的专家。课程内容经过深入研究,精选了初学者常遇到的难点。 **课程内容概览:** * **第一部分:** 介绍不使用构建系统时遇到的问题,以及构建系统(如 Make)与元构建系统(如 CMake)的区别。 * **第二部分:** 详细讲解 CMake 的安装,并通过第一个 CMake 可执行文件示例,让您快速入门。 * **第三部分:** 学习如何使用子目录管理大型项目,使项目结构更加清晰。 * **第四部分:** 深入探索 CMake 的脚本能力,包括变量、列表和字符串的使用。 * **第五部分:** 学习 CMake 的流程控制命令(if-else、循环),以及函数、作用域、宏、模块和 Listfiles 的应用。 * **第六部分:** 讲解如何通过缓存变量配置项目,理解库的概念,并学习如何与 Ninja 构建系统集成。 * **第七部分:** 教授如何安装第三方库,并导出自己的项目,方便他人使用。 * **第八部分:** (阅读模块)涵盖一些零散但重要的概念、常见问题解答 (FAQ) 和实用技巧。 * **第九部分:** 解决安装和使用外部库时可能遇到的问题,包括使用 CMake 和非 CMake 构建系统的库。 **课程亮点:** * **由浅入深:** 从编译简单的 C++ 代码开始,逐步增加课程的复杂性,确保初学者能够循序渐进地学习。 * **实用导向:** 课程内容聚焦于实际项目构建需求,帮助您掌握构建、导出和链接库的核心技能。 * **解决难点:** 课程结合了 Stackoverflow、Quora、Reddit、Youtube 等问答网站的常见问题,专门为初学者梳理了容易混淆的概念。 完成本课程后,您将能够自如地构建 CMake 项目,导出您的项目,并将可执行文件链接到任何 CMake 或非 CMake 构建的库。 **立即报名,踏上 3.5 小时的学习之旅,掌握 C++ 项目构建的最强大方式!**
Learning CMake was never so easy! Welcome to the course Master CMake for Cross-Platform C++ Project Building, where you will learn the CMake tool from the beginning. After completing this course, you'll be able to Build CMake based projects, Export your project, and Link your executable against any CMake/ Non-Cmake based libraryEnroll Now and enjoy the 3.5-hours ride to learn the most powerful way of building the C++ projects.This course is made after extensive research on Stackoverflow, Quora, Reddit, Youtube, and other Q & A websites to handpick the concepts which are difficult to understand for the beginners. The course starts with compiling a simple C++ code; and, over the modules, various functionalities are added as the complexity increases.The broad outline of the course is as follows:Section 1:Problems associated with NOT using a build systemDifference between a build system (Make) and a meta-build system (CMake).Section 2:Installation of CMakeFirst executable using the CMakeSection 3:Managing large projects using sub-directoriesSection 4: Variables, Lists, and Strings Scripting Capabilities of CMakeSection 5:Flow Control commands (If-else commands and the Loops)Functions, Scopes, Macros, Modules, and Listfiles.Section 6:Configuring a project using Cache VariablesConcept of LibrariesUsing Ninja Build System with CMakeSection 7:Installation a package that is developed by someone elseExport our package so that someone else can use itSection 8:(Read through Section)Miscellaneous small concepts, FAQs and tips Section 9:Problems while installing and using External LibrariesUsing External Libraries developed using both CMake and Non-CMake based build systemsEnroll Now and enjoy the 3.5-hours ride to learn the most powerful way of building the C++ projects.