### Install Export Set Source: https://github.com/cloudcompare/cccorelib/blob/master/CMakeLists.txt Installs the export set for CCCoreLib, creating a CMake file that allows other projects to find and use the installed targets. ```cmake install( EXPORT CCCoreLib-targets FILE CCCoreLibTargets.cmake NAMESPACE CCCoreLib:: DESTINATION lib/cmake/CCCoreLib ) ``` -------------------------------- ### Install Package Configuration Files Source: https://github.com/cloudcompare/cccorelib/blob/master/CMakeLists.txt Installs the generated CMake package configuration files to the designated directory, making the package discoverable by CMake. ```cmake install( FILES "${CMAKE_CURRENT_BINARY_DIR}/CCCoreLibConfigVersion.cmake" "${CMAKE_CURRENT_BINARY_DIR}/CCCoreLibConfig.cmake" DESTINATION lib/cmake/CCCoreLib ) ``` -------------------------------- ### Install CCCoreLib Target Source: https://github.com/cloudcompare/cccorelib/blob/master/CMakeLists.txt Installs the CCCoreLib target, its export set, and associated files to the appropriate library and include directories. ```cmake install( TARGETS CCCoreLib EXPORT CCCoreLib-targets LIBRARY DESTINATION lib ARCHIVE DESTINATION lib INCLUDES DESTINATION include ) ``` -------------------------------- ### Write Package Version File Source: https://github.com/cloudcompare/cccorelib/blob/master/CMakeLists.txt Creates a CMake file that specifies the version of the installed package, used for version checking by consumers. ```cmake write_basic_package_version_file( CCCoreLibConfigVersion.cmake VERSION ${PACKAGE_VERSION} COMPATIBILITY AnyNewerVersion ) ``` -------------------------------- ### Configure Package Configuration File Source: https://github.com/cloudcompare/cccorelib/blob/master/CMakeLists.txt Generates the main CMake package configuration file (ProjectNameConfig.cmake) using a template, specifying the installation destination. ```cmake configure_package_config_file(${CMAKE_CURRENT_LIST_DIR}/cmake/${PROJECT_NAME}Config.cmake.in ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}Config.cmake INSTALL_DESTINATION lib/cmake/${PROJECT_NAME} NO_CHECK_REQUIRED_COMPONENTS_MACRO ) ``` -------------------------------- ### Export CCCoreLib Target Source: https://github.com/cloudcompare/cccorelib/blob/master/CMakeLists.txt Exports the CCCoreLib target for use by other CMake projects, specifying a namespace and the output file name. ```cmake export( TARGETS CCCoreLib NAMESPACE CCCoreLib:: FILE CCCoreLibTargets.cmake ) ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.