Explore a compendium of tips, tricks, and techniques for leveraging CMake and empowering your software development workflow. Key Features • Understand what CMake is, how it works, and how to interact with it • Discover how to properly create and maintain well-structured CMake projects • Explore tools and techniques to get the most out of your CMake project Book Description CMake is a powerful tool used to perform a wide variety of tasks, so finding a good starting point for learning CMake is difficult. This book cuts to the core and covers the most common tasks that can be accomplished with CMake without taking an academic approach. While the CMake documentation is comprehensive, it is often hard to find good examples of how things fit together, especially since there are lots of dirty hacks and obsolete solutions available on the internet. This book focuses on helping you to tie things together and create clean and maintainable projects with CMake. You'll not only get to grips with the basics but also work through real-world examples of structuring large and complex maintainable projects and creating builds that run in any programming environment. You'll understand the steps to integrate and automate various tools for improving the overall software quality, such as testing frameworks, fuzzers, and automatic generation of documentation. And since writing code is only half of the work, the book also guides you in creating installers and packaging and distributing your software. All this is tailored to modern development workflows that make heavy use of CI/CD infrastructure. By the end of this CMake book, you'll be able to set up and maintain complex software projects using CMake in the best way possible. What you will learn • Get to grips with architecting a well-structured CMake project • Modularize and reuse CMake code across projects • Integrate various tools for static analysis, linting, formatting, and documentation into a CMake project • Get hands-on with performing cross-platform builds • Discover how you can easily use different toolchains with CMake • Get started with crafting a well-defined and portable build environment for your project Who this book is for This book is for software engineers and build system maintainers working with C or C++ on a regular basis and trying to use CMake to better effect for their everyday tasks. Basic C++ and general programming knowledge will help you to better understand the examples covered in the book.
This comprehensive new resource presents a technical introduction to the components, architecture, software, and protocols of IoT. This book is especially catered to those who are interested in researching, developing, and building IoT. The book covers the physics of electricity and electromagnetism laying the foundation for understanding the components of modern electronics and computing. Readers learn about the fundamental properties of matter along with security and privacy issues related to IoT. From the launch of the internet from ARPAnet in the 1960s to recent connected gadgets, this book highlights the integration of IoT in various verticals such as industry, smart cities, connected vehicles, and smart and assisted living. The overall design patterns, issues with UX and UI, and different network topologies related to architectures of M2M and IoT solutions are explored. Product development, power options for IoT devices, including battery chemistry, actuators from simple buzzers to complex stepper motors, and sensors from gyroscopes to the electrical sensing of organic compounds are covered. Hardware development, sensors, and embedded systems are discussed in detail. This book offers insight into the software components that impinge on IoT solutions, development, network protocols, backend software, data analytics and conceptual interoperability.
Discover practical tips and techniques for leveraging CMake to optimize your software development workflow Key Features Learn Master CMake, from basics to advanced techniques, for seamless project management Gain practical insights and best practices to tackle real-world CMake challenges Implement advanced strategies for optimizing and maintaining large-scale CMake projects Purchase of the print or Kindle book includes a free PDF eBook Book Description Discover the cutting-edge advancements in CMake with the new edition of CMake Best Practices. This book focuses on real-world applications and techniques to leverage CMake, avoiding outdated hacks and overwhelming documentation. You’ll learn how to use CMake presets for streamlined project configurations and embrace modern package management with Conan 2.0. Covering advanced methods to integrate third-party libraries and optimize cross-platform builds, this updated edition introduces new tools and techniques to enhance software quality, including testing frameworks, fuzzers, and automated documentation generation. Through hands-on examples, you’ll become proficient in structuring complex projects, ensuring that your builds run smoothly across different environments. Whether you’re integrating tools for continuous integration or packaging software for distribution, this book equips you with the skills needed to excel in modern software development. By the end of the book, you’ll have mastered setting up and maintaining robust software projects using CMake to streamline your development workflow and produce high-quality software. What you will learn Architect a well-structured CMake project Modularize and reuse CMake code across projects Use the latest CMake features for presets and dependency management Integrate tools for static analysis, linting, formatting, and documentation into a CMake project Execute hands-on cross-platform builds and seamless toolchain integration Implement automated fuzzing techniques to enhance code robustness Streamline your CI/CD pipelines with effective CMake configurations Craft a well-defined and portable build environment for your project Who this book is for This book is for software engineers and build system maintainers working with C or C++ who want to optimize their workflow using CMake. It's also valuable for those looking to enhance their understanding of structuring and managing CMake projects efficiently. Basic knowledge of C++ and general programming is recommended to fully grasp the examples and techniques covered in the book.
This will help us customize your experience to showcase the most relevant content to your age group
Please select from below
Login
Not registered?
Sign up
Already registered?
Success – Your message will goes here
We'd love to hear from you!
Thank you for visiting our website. Would you like to provide feedback on how we could improve your experience?
This site does not use any third party cookies with one exception — it uses cookies from Google to deliver its services and to analyze traffic.Learn More.