init cmake build system

This commit is contained in:
Luca Pepè Sciarria
2025-02-24 16:20:50 +01:00
parent a8cf53d80e
commit d61c9fed9f
10 changed files with 357 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
# Config file for the INSTALLED package
# Allow other CMake projects to find this package if it is installed
# Requires the use of the standard CMake module CMakePackageConfigHelpers
set ( @CMAKE_PROJECT_NAME@_VERSION @VERSION@ )
###@COMPILER_CONSISTENCY_CHECK@
@PACKAGE_INIT@
# Provide the targets
set_and_check ( @PACKAGE_NAME@_CONFIG_INSTALL_DIR "@PACKAGE_EXPORT_INSTALL_DIR@" )
include ( "${@PACKAGE_NAME@_CONFIG_INSTALL_DIR}/@PACKAGE_NAME@-targets.cmake" )
# Make the module files available via include
set_and_check ( @CMAKE_PROJECT_NAME@_INCLUDE_DIRS "@PACKAGE_INSTALL_MOD_DIR@" )