Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • eclipse/openpass/mantle-api
  • adascri/scenario_api
  • jtschea/scenario_api
  • mstump/mantle-api
  • xiaopan/scenario_api
  • AndreasB/scenario_api
  • kcantero/scenario_api
  • dweiwg6/scenario_api
  • shankarpatali/mantle-api
  • etiennep/mantle-api
  • nutario/mantle-api
  • rbiegel/mantle-api
  • nmraghu/mantle-api
  • rparisha2/mantle-api
  • naidagoro/mantle-api
  • kim10101/mantle-api
  • mbehrischv52/mantle-api
  • khbner/mantle-api
  • lappino/mantle-api
  • anastasiiavolkova/mantle-api
  • daniilnikulin/mantle-api
  • mkellerer/mantle-api
  • ansssardesa/mantle-api
  • tonweenink/mantle-api
24 results
Show changes
Commits on Source (1)
......@@ -47,13 +47,15 @@ additional_commands:
PROPERTIES: "*"
TEST_LIST: "*"
DISCOVERY_TIMEOUT: "*"
setup_target_for_coverage_gcovr_html:
target_sources:
pargs: 1
kwargs:
BASE_DIRECTORY: "*"
EXCLUDE: "*"
EXECUTABLE: "*"
EXECUTABLE_ARGS: "*"
DEPENDENCIES: "*"
INTERFACE:
kwargs:
FILE_SET: 1
TYPE: 1
BASE_DIRS: "*"
FILES: "*"
always_wrap: []
enable_sort: true
autosort: false
......
......@@ -9,7 +9,7 @@
# SPDX-License-Identifier: EPL-2.0
################################################################################
cmake_minimum_required(VERSION 3.15.0 FATAL_ERROR)
cmake_minimum_required(VERSION 3.24.0 FATAL_ERROR)
# Add the custom CMake modules to CMake's module path
list(PREPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/cmake")
......@@ -75,12 +75,6 @@ CPMAddPackage(
)
# Add library
file(
GLOB_RECURSE HEADERS
RELATIVE ${PROJECT_SOURCE_DIR}/include
CONFIGURE_DEPENDS "*.h"
)
add_library(MantleAPI INTERFACE)
add_library(MantleAPI::MantleAPI ALIAS MantleAPI)
......@@ -95,6 +89,16 @@ target_include_directories(
target_compile_features(MantleAPI INTERFACE cxx_std_17)
file(GLOB_RECURSE HEADERS CONFIGURE_DEPENDS "include/**/*.h")
target_sources(
MantleAPI
INTERFACE FILE_SET HEADERS
TYPE HEADERS
BASE_DIRS $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/include>
FILES ${HEADERS}
)
set_target_properties(MantleAPI PROPERTIES VERIFY_INTERFACE_HEADER_SETS ON)
# Configure export
include(CMakePackageConfigHelpers)
configure_package_config_file(
......@@ -111,8 +115,11 @@ write_basic_package_version_file(
# Configure install
if(MantleAPI_INSTALL)
install(DIRECTORY include/ TYPE INCLUDE)
install(TARGETS MantleAPI EXPORT MantleAPITargets)
install(
TARGETS MantleAPI
EXPORT MantleAPITargets
FILE_SET HEADERS
)
install(
EXPORT MantleAPITargets
......