Further reading
To learn more about the topics that were covered in this chapter, take a look at the following resources:
- GNU Coding Standards for Destinations: https://www.gnu.org/prep/standards/html_node/Directory-Variables.html
- Discussion on new public header management with the
FILE_SET
keyword: https://gitlab.kitware.com/cmake/cmake/-/issues/22468#note_991860 - How to install a shared library: https://tldp.org/HOWTO/Program-Library-HOWTO/shared-libraries.html
- Creating relocatable packages: https://cmake.org/cmake/help/latest/guide/importing-exporting/index.html#creating-relocatable-packages
- List of paths scanned by
find_package()
to find the config file: https://cmake.org/cmake/help/latest/command/find_package.html#config-mode-search-procedure - Full documentation of
CMakePackageConfigHelpers
: https://cmake.org/cmake/help/latest/module/CMakePackageConfigHelpers.html - CPack package generators: https://cmake.org/cmake/help/latest/manual/cpack-generators...