Modern CMake for C++
eBook - ePub

Modern CMake for C++

Rafal Swidzinski

  1. 460 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Modern CMake for C++

Rafal Swidzinski

Book details
Table of contents
Citations

About This Book

Write comprehensive, professional-standard CMake projects and ensure the quality and simplicity of your solutionsPurchase of the print or Kindle book includes a free eBook in the PDF formatKey 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 buildsBook DescriptionCreating 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 itselfWho this book is forThe 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.

Frequently asked questions

How do I cancel my subscription?
Simply head over to the account section in settings and click on “Cancel Subscription” - it’s as simple as that. After you cancel, your membership will stay active for the remainder of the time you’ve paid for. Learn more here.
Can/how do I download books?
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
What is the difference between the pricing plans?
Both plans give you full access to the library and all of Perlego’s features. The only differences are the price and subscription period: With the annual plan you’ll save around 30% compared to 12 months on the monthly plan.
What is Perlego?
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Do you support text-to-speech?
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Is Modern CMake for C++ an online PDF/ePUB?
Yes, you can access Modern CMake for C++ by Rafal Swidzinski in PDF and/or ePUB format, as well as other popular books in Computer Science & Software Development. We have over one million books available in our catalogue for you to explore.

Information

Year
2022
ISBN
9781801071659
Edition
1

Table of contents

    Citation styles for Modern CMake for C++

    APA 6 Citation

    Swidzinski, R. (2022). Modern CMake for C++ (1st ed.). Packt Publishing. Retrieved from https://www.perlego.com/book/3284636 (Original work published 2022)

    Chicago Citation

    Swidzinski, Rafal. (2022) 2022. Modern CMake for C++. 1st ed. Packt Publishing. https://www.perlego.com/book/3284636.

    Harvard Citation

    Swidzinski, R. (2022) Modern CMake for C++. 1st edn. Packt Publishing. Available at: https://www.perlego.com/book/3284636 (Accessed: 1 July 2024).

    MLA 7 Citation

    Swidzinski, Rafal. Modern CMake for C++. 1st ed. Packt Publishing, 2022. Web. 1 July 2024.