Added a discussion and example of implementing multi-level keyword argument parsing.More clearly explain how and whether variables are defined for valueless, single-value and multi-value keyword arguments.Examples were updated to highlight how and why this can be useful. Added a note that the contents of _UNPARSED_ARGUMENTS will have semicolons escaped when using the PARSE_ARGV form of the cmake_parse_arguments() function.This form has been available since CMake 3.7 and provides improved robustness when parsing function arguments. Added discussion of the PARSE_ARGV form of the cmake_parse_arguments() command.This is covered in a new section Special Variables For Functions. CMake 3.18 also added support for a number of CMAKE_CURRENT_FUNCTION* variables which can be used to provide information about the function currently being executed.CMake 3.18 added a new cmake_language() command, which is now covered in a new section Other Ways Of Invoking CMake Code.This chapter was substantially reworked and expanded to better cover argument handling and other features new in CMake 3.18. Variables past the end of shorter lists are undefined, not set to empty. Correct a slightly inaccurate statement about what variables are defined for the IN ZIP_LISTS form of the foreach() command.A new section Problems With Unbalanced Square Brackets was added to cover a less well-known aspect of CMake’s list handling behavior.CMake added a new NATURAL sorting option for the list(SORT) command.Added a note that the ccmake tool is not part of the official CMake packages for Windows.Only the essential points have been retained in the Variables chapter to avoid distracting the reader from the main focus. Most of the section covering the message() command has been moved to its own new chapter ( Debugging And Diagnostics).The PDF file size has also been significantly reduced by about 60% through additional post-processing. The EPUB and MOBI formats do not have an index at the end of the book.Some EPUB and MOBI code examples have slight differences (typically just formatting) to allow for better readability on devices with narrower widths.The formats contain the same content with the following minor differences: The formats in which the book is available has been expanded to include PDF, EPUB and MOBI. The following lists the main changes in this edition. For the first time, the book is now also available in EPUB and MOBI formats, in addition to the usual PDF. Major highlights for this edition include significantly expanded coverage of command argument handling and a new chapter on debugging and diagnostics for running CMake. It includes new, updated and reorganized material. The 7th Edition has been updated for the CMake 3.18 release. This is part of the change history for the book Professional CMake: A Practical Guide.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |