توضیحات
Write comprehensive professional-standard CMake projects and ensure the quality and simplicity of your solutions
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 simpler, more complete 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 later focuses on the structure of source directories, building targets and packages. As you progress, youll 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 also understand how to use external dependencies in your project – third-party libraries, testing frameworks, program analysis tools, and documentation generators. Finally, you’ll focus on exporting, installing, and packaging for internal and external purposes.
By the end of this book, youll 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 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 just getting started with CMake, a long-time GNU make user, or someone simply looking to brush up on the latest best practices, this book is for you.
Table of Contents
- First Steps with CMake
- The CMake Language
- Setting up Your First CMake Project
- Working with Targets
- Compiling C++ Sources with CMake
- Linking with CMake
- Managing Dependencies in CMake
- Testing Frameworks
- Program Analysis Tools
- Generating Documentation
- Installing and Packaging
- Creating your Professional Chapter
- Appendix
————————————————————–
ترجمه ماشینی :
پروژه های استاندارد حرفه ای و جامع CMake بنویسید و از کیفیت و سادگی راه حل های خود اطمینان حاصل کنید
ویژگی های کلیدی
- < li>کامپایل و پیوند دادن با CMake را درک و خودکارسازی کنید
- وابستگیهای داخلی و خارجی را به راحتی مدیریت کنید
- بررسیهای کیفیت و آزمایشها را به عنوان یک مرحله ذاتی برای ساختهای خود اضافه کنید
توضیحات کتاب
ایجاد نرم افزار درجه یک کاری بسیار دشوار است. توسعه دهندگانی که در مورد این موضوع تحقیق می کنند در تعیین اینکه کدام توصیه به روز است و کدام رویکرد قبلاً با روش های ساده تر و بهتر جایگزین شده است مشکل دارند. در عین حال، بیشتر منابع آنلاین توضیح محدودی ارائه میدهند، در حالی که فاقد زمینه و ساختار مناسب هستند.
این کتاب تجربه سادهتر و کاملتری را ارائه میکند، زیرا به موضوع موضوع میپردازد. ساخت راه حل های C++ به صورت جامع. CMake مدرن برای C++ یک راهنمای سرتاسر برای خودکارسازی کارهای پیچیده، از جمله ساخت، آزمایش و بستهبندی است. شما نه تنها نحوه استفاده از زبان CMake را در پروژه های CMake یاد خواهید گرفت، بلکه خواهید فهمید که چه چیزی باعث نگهداری، زیبا و تمیز بودن آنها می شود. این کتاب بعداً بر ساختار دایرکتوریهای منبع، ساختن اهداف و بستهها تمرکز دارد. همانطور که پیشرفت می کنید، یاد می گیرید که چگونه فایل های اجرایی و کتابخانه ها را کامپایل و پیوند دهید، این فرآیندها چگونه کار می کنند، و چگونه ساخت ها را در CMake برای بهترین نتایج بهینه کنید. شما همچنین خواهید فهمید که چگونه از وابستگی های خارجی در پروژه خود استفاده کنید – کتابخانه های شخص ثالث، چارچوب های آزمایشی، ابزارهای تجزیه و تحلیل برنامه، و تولیدکنندگان اسناد. در نهایت، شما بر صادرات، نصب، و بسته بندی برای اهداف داخلی و خارجی تمرکز خواهید کرد.
در پایان این کتاب، میتوانید با اطمینان از CMake در یک حرفهای استفاده کنید. سطح.
آنچه یاد خواهید گرفت
- بهترین شیوههای ساخت کد ++C را بدانید
- با تمرکز بر مفیدترین جنبه ها دانش عملی زبان CMake را به دست آورید
- از ابزارهای پیشرفته برای تضمین کیفیت کد با آزمایش ها و تجزیه و تحلیل استاتیک و پویا استفاده کنید
- چگونه مدیریت، کشف، دانلود، و وابستگیها را با CMake پیوند دهید
- راهحلهایی بسازید که میتوانند مجدداً استفاده شوند و در درازمدت نگهداری شوند
< li>با نحوه بهینه سازی مصنوعات ساخت و فرآیند ساخت آشنا شوید
این کتاب برای چه کسی است
این کتاب برای مهندسان ساخت و توسعه دهندگان نرم افزار با دانش برنامه نویسی C/C++ است که به دنبال یادگیری CMake برای خودکارسازی فرآیند ساخت راه حل های نرم افزاری کوچک و بزرگ هستند. اگر به تازگی با CMake شروع کرده اید، یک کاربر باسابقه گنو، یا کسی که به سادگی به دنبال کشف آخرین بهترین روش هاست، این کتاب برای شما مناسب است.
فهرست مطالب
- اولین مراحل با CMake
- CMake زبان
- راه اندازی اولین پروژه CMake شما
- کار با اهداف
- کامپایل منابع C++ با CMake
- پیوند دادن با CMake
- مدیریت وابستگی ها در CMake
- چارچوب های تست
- ابزارهای تحلیل برنامه
- ایجاد مستندات
- نصب و بسته بندی
- ایجاد فصل حرفه ای شما
- ضمیمه
tag : دانلود کتاب CMake مدرن برای C++: روش بهتری برای ساخت، آزمایش و بسته بندی نرم افزار خود کشف کنید , Download CMake مدرن برای C++: روش بهتری برای ساخت، آزمایش و بسته بندی نرم افزار خود کشف کنید , دانلود CMake مدرن برای C++: روش بهتری برای ساخت، آزمایش و بسته بندی نرم افزار خود کشف کنید , Download Modern CMake for C++: Discover a better approach to building, testing and packaging your software Book , CMake مدرن برای C++: روش بهتری برای ساخت، آزمایش و بسته بندی نرم افزار خود کشف کنید دانلود , buy CMake مدرن برای C++: روش بهتری برای ساخت، آزمایش و بسته بندی نرم افزار خود کشف کنید , خرید کتاب CMake مدرن برای C++: روش بهتری برای ساخت، آزمایش و بسته بندی نرم افزار خود کشف کنید , دانلود کتاب Modern CMake for C++: Discover a better approach to building, testing and packaging your software , کتاب Modern CMake for C++: Discover a better approach to building, testing and packaging your software , دانلود Modern CMake for C++: Discover a better approach to building, testing and packaging your software , خرید Modern CMake for C++: Discover a better approach to building, testing and packaging your software , خرید کتاب Modern CMake for C++: Discover a better approach to building, testing and packaging your software ,

نقد و بررسیها
هنوز بررسیای ثبت نشده است.