This is an alternative to the existing BUILD_BYPRODUCTS keyword, allowing more accurate and granular dependencies to be specified. CMake 3.26 added support for a new INSTALL_BYPRODUCTS keyword for ExternalProject_Add().Explain the purpose and usage of the new $ generator expression added in CMake 3.26.The Embedding Frameworks section of the previous edition was renamed to Embedding Frameworks, Plugins And Extensions to more accurately reflect that it covers all supported XCODE_EMBED_. target properties added by CMake 3.26 are mentioned. The new XCODE_EMBED_EXTENSIONKIT_EXTENSIONS.Some restructuring was performed to allow most of the ist material to be presented together in one place, a new ist Files sub-section under Build Settings.The recommended minimum CMake and Xcode versions have been updated, and some of the techniques and workarounds for much older versions have been significantly condensed or removed. This chapter was significantly revised and updated for Xcode 14.CMake 3.26 added a new CMAKE_VS_VERSION_BUILD_NUMBER variable, available when using a Visual Studio toolchain.CMake 3.26 also added a new cmake -E copy_directory_if_different subcommand.CMake 3.26 added support for a -t option when using cmake -E copy.Mention using COMMAND_ERROR_IS_FATAL as an alternative way of checking that an execute_process() call was successful.Mention using BYPRODUCTS for intermediate files in add_custom_output().When to use COMMENT or cmake -E echo in custom commands.Updated the guidance in the Recommended Practices section for a number of cases:.COMMAND_ERROR_IS_FATAL is now used to simplify the archiver.cmake example in the Combining The Difference Approaches section.Also added a missing note that the RESULTS_VARIABLE requires CMake 3.10 or later. Added discussion of the ENCODING option for execute_process(). ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |