Kniha Modern CMake for C++ Rafał Świdziński

Modern CMake for C++

Jazyk: Angličtina
Väzba: Brožovaná
Vydavateľ: Packt Publishing
Dostupnosť: Skladom u dodávateľa
Odosielame za 14-21 dní
43.95
Write comprehensive, professional-standard CMake projects and ensure the quality and simplicity of y...

Informácie o knihe

Jazyk
Angličtina
Väzba
Kniha - Brožovaná
Vydalo
2022
Stránok
460
EAN
9781801070058
ISBN
1801070059
Enbook ID
38820295
Vydavateľ
Hmotnosť
852
Rozmery
191 x 235 x 25

Kompletný popis

Write comprehensive, professional-standard CMake projects and ensure the quality and simplicity of your solutions

Purchase of the print or Kindle book includes a free eBook in the PDF format

Key Features

  • Understand and automate compilation and linking with CMake
  • Manage internal and external dependencies easily
  • Add quality checks and tests as an inherent step for your builds

Book Description

Creating top-notch software is an extremely difficult undertaking. Developers researching the subject have difficulty determining which advice is up to date and which approaches have already been replaced by easier, better practices. At the same time, most online resources offer limited explanation, while also lacking the proper context and structure.

This book offers a simpler, more comprehensive, experience as it treats the subject of building C++ solutions holistically. Modern CMake for C++ is an end-to-end guide to the automatization of complex tasks, including building, testing, and packaging. You'll not only learn how to use the CMake language in CMake projects, but also discover what makes them maintainable, elegant, and clean. The book also focuses on the structure of source directories, building targets, and packages. As you progress, you'll learn how to compile and link executables and libraries, how those processes work, and how to optimize builds in CMake for the best results. You'll understand how to use external dependencies in your project - third-party libraries, testing frameworks, program analysis tools, and documentation generators. Finally, you'll get to grips with exporting, installing, and packaging for internal and external purposes.

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

What you will learn

  • Understand best practices for building C++ code
  • Gain practical knowledge of the CMake language by focusing on the most useful aspects
  • Use cutting-edge tooling to guarantee code quality with the help of tests and static and dynamic analysis
  • Discover how to manage, discover, download, and link dependencies with CMake
  • Build solutions that can be reused and maintained in the long term
  • Understand how to optimize build artifacts and the build process itself

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 are someone who's 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.

Table of Contents

  1. First Steps with CMake
  2. The CMake Language
  3. Setting Up Your First CMake Project
  4. Working with Targets
  5. Compiling C++ Sources with CMake
  6. Linking with CMake
  7. Managing Dependencies with CMake
  8. Testing Frameworks
  9. Program Analysis Tools
  10. Generating Documentation
  11. Installing and Packaging
  12. Creating Your Professional Project
  13. Appendix Miscellaneous Commands

Mohlo by vás zaujímať

44.83

Minimal CMake

Tom Hulton-Harrop
39.64
50.02

Clean Architecture

Robert C. Martin
29.16

CMake Cookbook

Radovan Bast
57.07

CMake Best Practices

Dominik Berner
43.95
37.00

Mastering GitLab 12

Joost Evertse
45.71

C++20 - The Complete Guide

Nicolai M. Josuttis
70.87
51.88
45.71
46.59
45.71
25.15

Clean Code

Robert C. Martin
49.23

The Clean Coder

Robert C. Martin
36.02
47.08
7.23

C Programming Language

Brian W. Kernighan
55.99
88.39

Ariel

Sylvia Plath
16.14

It Ends With Us

Colleen Hoover
20.84

The Playbook

Barney Stinson
8.80

Zákazníci, ktorí si kúpili túto knihu, kúpili tiež

56.18

Adaptive Code

Gary McLean Hall
39.35

Beginning C++23

Ivor Horton
44.34
64.90

DAMA-DMBOK

Dama International
67.64

C++17 STL Cookbook

Jacek Galowicz
51.88

Tour of C++, A

Bjarne Stroustrup
36.31
32.59

Mastering Java 11

Dr. Edward Lavieri
45.71
27.60
51.88
34.35
7.63

C++17 - The Complete Guide

Josuttis Nicolai M. Josuttis
53.35

Java Challenges

Michael Inden
47.67
51.88

Ant

Steve Holzner
31.02