CMake Cookbook

CMake Cookbook
Author :
Publisher : Packt Publishing Ltd
Total Pages : 600
Release :
ISBN-10 : 9781788472340
ISBN-13 : 1788472349
Rating : 4/5 (40 Downloads)

Book Synopsis CMake Cookbook by : Radovan Bast

Download or read book CMake Cookbook written by Radovan Bast and published by Packt Publishing Ltd. This book was released on 2018-09-26 with total page 600 pages. Available in PDF, EPUB and Kindle. Book excerpt: Learn CMake through a series of task-based recipes that provide you with practical, simple, and ready-to-use CMake solutions for your code Key FeaturesLearn to configure, build, test, and package software written in C, C++, and FortranProgress from simple to advanced tasks with examples tested on Linux, macOS, and WindowsManage code complexity and library dependencies with reusable CMake building blocksBook Description CMake is cross-platform, open-source software for managing the build process in a portable fashion. This book features a collection of recipes and building blocks with tips and techniques for working with CMake, CTest, CPack, and CDash. CMake Cookbook includes real-world examples in the form of recipes that cover different ways to structure, configure, build, and test small- to large-scale code projects. You will learn to use CMake's command-line tools and master modern CMake practices for configuring, building, and testing binaries and libraries. With this book, you will be able to work with external libraries and structure your own projects in a modular and reusable way. You will be well-equipped to generate native build scripts for Linux, MacOS, and Windows, simplify and refactor projects using CMake, and port projects to CMake. What you will learnConfigure, build, test, and install code projects using CMakeDetect operating systems, processors, libraries, files, and programs for conditional compilationIncrease the portability of your codeRefactor a large codebase into modules with the help of CMakeBuild multi-language projectsKnow where and how to tweak CMake configuration files written by somebody elsePackage projects for distributionPort projects to CMakeWho this book is for If you are a software developer keen to manage build systems using CMake or would like to understand and modify CMake code written by others, this book is for you. A basic knowledge of C++, C, or Fortran is required to understand the topics covered in this book.


CMake Cookbook Related Books

CMake Cookbook
Language: en
Pages: 600
Authors: Radovan Bast
Categories: Computers
Type: BOOK - Published: 2018-09-26 - Publisher: Packt Publishing Ltd

DOWNLOAD EBOOK

Learn CMake through a series of task-based recipes that provide you with practical, simple, and ready-to-use CMake solutions for your code Key FeaturesLearn to
CMake Best Practices
Language: en
Pages: 406
Authors: Dominik Berner
Categories: Computers
Type: BOOK - Published: 2022-05-27 - Publisher: Packt Publishing Ltd

DOWNLOAD EBOOK

Explore a compendium of tips, tricks, and techniques for leveraging CMake and empowering your software development workflow. Key Features • Understand what CM
Modern CMake for C++
Language: en
Pages: 460
Authors: Rafal Swidzinski
Categories: Computers
Type: BOOK - Published: 2022-02-28 - Publisher: Packt Publishing Ltd

DOWNLOAD EBOOK

Write comprehensive, professional-standard CMake projects and ensure the quality and simplicity of your solutions Purchase of the print or Kindle book includes
LLVM Techniques, Tips, and Best Practices Clang and Middle-End Libraries
Language: en
Pages: 370
Authors: Min-Yih Hsu
Categories: Computers
Type: BOOK - Published: 2021-04-22 - Publisher: Packt Publishing Ltd

DOWNLOAD EBOOK

Learn how you can build the next big programming language, compiler, or source code analyzer using LLVM and Clang Key FeaturesExplore Clang, LLVM’s middle-end
Modern C++ for Absolute Beginners
Language: en
Pages:
Authors: Slobodan Dmitrović
Categories: Computers
Type: BOOK - Published: 2020-08-16 - Publisher: Apress

DOWNLOAD EBOOK

Learn the basics of the modern C++ programming language from scratch, including the C++11 to C++20 standards, no experience necessary. You’ll work with expres