Modern CMake for C++ : Effortlessly build cutting-edge C++ code and deliver high-quality solutions, 2/e (Paperback)
暫譯: 現代 CMake 與 C++:輕鬆構建尖端 C++ 代碼並提供高品質解決方案,第二版(平裝本)

Rafal Świdziński, Rafal

  • 出版商: Packt Publishing
  • 出版日期: 2024-05-28
  • 售價: $1,980
  • 貴賓價: 9.5$1,881
  • 語言: 英文
  • 頁數: 502
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1805121804
  • ISBN-13: 9781805121800
  • 相關分類: C++ 程式語言CMake
  • 立即出貨

買這商品的人也買了...

相關主題

商品描述

Gain proficiency in CMake and unlock the complete potential of C++ to develop exceptional projects

 

Key Features:

Get to grips with CMake and take your C++ development skills to enterprise standardsUse hands-on exercises and self-assessment questions to lock-in your learningUnderstand how to build in an array of quality checks and tests for robust code

 

Book Description:

Modern CMake for C++ isn't just another reference book, or a repackaging of the documentation, but a blueprint to bridging the gap between learning C++ and being able to use it in a professional setting. It's an end-to-end guide to the automation of complex tasks, including building, testing, and packaging software.

This second edition is updated to the latest version of the CMake tooling suite, featuring three new chapters and an additional appendix dedicated to CMake presets.

In this book, you'll not only learn how to use the CMake language in CMake projects, but also discover how to make those projects maintainable, elegant, and clean. As you progress, you'll dive into the structure of source directories, building targets, and packages, all while learning how to compile and link executables and libraries. You'll also gain a deeper understanding of how those processes work, and how to optimize builds in CMake for the best results.

You'll discover how to use external dependencies in your project - third-party libraries, testing frameworks, program analysis tools, and documentation generators. Finally, you'll gain proficiency in exporting, installing, and packaging for internal and external purposes.

By the end of this book, you'll be able to use CMake confidently at a professional level.

 

What You Will Learn:

Understand best practices for building C++ codeGain practical knowledge of the CMake languageGuarantee code quality with tests and static and dynamic analysisDiscover how to manage, discover, download, and link dependencies with CMakeBuild solutions that can be reused and maintained in the long termUnderstand how to optimize build artifacts and the build processProgram modern CMake and manage your build processesAcquire expertise in complex subjects like CMake presets and CDash

 

Who this book is for:

The book is for build engineers and software developers with knowledge of C/C++ programming who are looking to learn CMake to automate the process of building small and large software solutions. If you're just getting started with CMake, a long-time GNU Make user, or simply looking to brush up on the latest best practices, this book is for you.

商品描述(中文翻譯)

獲得 CMake 的熟練度,釋放 C++ 的全部潛力,以開發卓越的專案

主要特點:

掌握 CMake,將您的 C++ 開發技能提升至企業標準
使用實作練習和自我評估問題來鞏固您的學習
了解如何在代碼中建立一系列質量檢查和測試,以確保代碼的穩健性

書籍描述:

《現代 CMake for C++》不僅僅是另一本參考書,或是文檔的重新包裝,而是填補學習 C++ 與能夠在專業環境中使用它之間的差距的藍圖。這是一本涵蓋自動化複雜任務的端到端指南,包括構建、測試和打包軟體。

本書的第二版已更新至最新版本的 CMake 工具套件,新增三個章節和一個專門介紹 CMake 預設的附錄。

在這本書中,您不僅會學習如何在 CMake 專案中使用 CMake 語言,還會發現如何使這些專案可維護、優雅且乾淨。隨著進展,您將深入了解源目錄的結構、構建目標和包,同時學習如何編譯和鏈接可執行文件及庫。您還將更深入地理解這些過程的運作方式,以及如何在 CMake 中優化構建以獲得最佳結果。

您將發現如何在專案中使用外部依賴項——第三方庫、測試框架、程式分析工具和文檔生成器。最後,您將熟練掌握內部和外部目的的導出、安裝和打包。

在本書結束時,您將能夠在專業層面上自信地使用 CMake。

您將學到的內容:

了解構建 C++ 代碼的最佳實踐
獲得 CMake 語言的實用知識
通過測試和靜態及動態分析保證代碼質量
發現如何使用 CMake 管理、發現、下載和鏈接依賴項
構建可重用和可維護的解決方案
了解如何優化構建產物和構建過程
編寫現代 CMake 並管理您的構建過程
獲得 CMake 預設和 CDash 等複雜主題的專業知識

本書適合誰:

本書適合具有 C/C++ 編程知識的構建工程師和軟體開發人員,他們希望學習 CMake 以自動化構建小型和大型軟體解決方案的過程。如果您剛開始接觸 CMake,是長期使用 GNU Make 的用戶,或只是想更新最新的最佳實踐,這本書適合您。