WebJun 24, 2024 · include(CMakePackageConfigHelpers) write_basic_package_version_file("SIConfigVersion.cmake" VERSION $ {PROJECT_VERSION} COMPATIBILITY SameMajorVersion) After setting up the version, another CMake macro configure_package_config_file is called, to generate the configuration file which CMake … Destination for files of a given type. This value may be passed to the DESTINATION options of install () commands for the corresponding file type.
CMakePackageConfigHelpers — CMake 3.26.3 …
Webinstall (EXPORT MathFunctionsTargets FILE MathFunctionsTargets.cmake DESTINATION lib/cmake/MathFunctions ) include (CMakePackageConfigHelpers) # generate the config file that includes the exports configure_package_config_file ($ {CMAKE_CURRENT_SOURCE_DIR}/Config.cmake.in "$ … helly hansen alva 2.0 parka
File: CMakeLists.txt Debian Sources
Webinclude (CMakePackageConfigHelpers) Then we will create a package configuration file and a package version file. Creating a Package Configuration File ¶ Use the … WebCMakePackageConfigHelpers. Helpers functions for creating config files that can be included by other projects to find and use a package. Adds the … WebApr 25, 2016 · First of all we'll make use of CMakePackageConfigHelpers: include ( CMakePackageConfigHelpers ) This package allows us to write config files that can be relocated, that is to say, where paths are not hard-coded. Next we can write the config file that will be used if the package is not installed: helly hansen alta hi vis winter jacket