Skip to content

Commit

Permalink
[build] added conan
Browse files Browse the repository at this point in the history
  • Loading branch information
lvntky committed Aug 11, 2024
1 parent c9a3269 commit 10a1993
Show file tree
Hide file tree
Showing 22 changed files with 947 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/scripts/conan-ci-setup.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
#!/bin/bash

PS4='\033[1;34m>>>\033[0m '

set -xeu

pip3 install conan

conan profile detect -f

std=11
if [ "$RUNNER_OS" = Windows ]; then
std=14
fi

profile="$(conan profile path default)"

mv "$profile" "${profile}.bak"
sed 's/^\(compiler\.cppstd=\).\{1,\}$/\1'"$std/" "${profile}.bak" > "$profile"
rm "${profile}.bak"

if [ -f conan_cache_save.tgz ]; then
conan cache restore conan_cache_save.tgz
fi
conan remove \* --lru=1M -c
conan install . -b missing
conan cache save '*/*:*' --file=conan_cache_save.tgz
38 changes: 38 additions & 0 deletions conan/CMakePresets.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"version": 3,
"vendor": {
"conan": {}
},
"cmakeMinimumRequired": {
"major": 3,
"minor": 15,
"patch": 0
},
"configurePresets": [
{
"name": "conan-release",
"displayName": "'conan-release' config",
"description": "'conan-release' configure using 'Unix Makefiles' generator",
"generator": "Unix Makefiles",
"cacheVariables": {
"CMAKE_POLICY_DEFAULT_CMP0091": "NEW",
"CMAKE_BUILD_TYPE": "Release"
},
"toolchainFile": "conan/conan_toolchain.cmake",
"binaryDir": "/home/levent/ccontainer"
}
],
"buildPresets": [
{
"name": "conan-release",
"configurePreset": "conan-release",
"jobs": 16
}
],
"testPresets": [
{
"name": "conan-release",
"configurePreset": "conan-release"
}
]
}
162 changes: 162 additions & 0 deletions conan/Catch2-Target-release.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,162 @@
# Avoid multiple calls to find_package to append duplicated properties to the targets
include_guard()########### VARIABLES #######################################################################
#############################################################################################
set(catch2_FRAMEWORKS_FOUND_RELEASE "") # Will be filled later
conan_find_apple_frameworks(catch2_FRAMEWORKS_FOUND_RELEASE "${catch2_FRAMEWORKS_RELEASE}" "${catch2_FRAMEWORK_DIRS_RELEASE}")

set(catch2_LIBRARIES_TARGETS "") # Will be filled later


######## Create an interface target to contain all the dependencies (frameworks, system and conan deps)
if(NOT TARGET catch2_DEPS_TARGET)
add_library(catch2_DEPS_TARGET INTERFACE IMPORTED)
endif()

set_property(TARGET catch2_DEPS_TARGET
APPEND PROPERTY INTERFACE_LINK_LIBRARIES
$<$<CONFIG:Release>:${catch2_FRAMEWORKS_FOUND_RELEASE}>
$<$<CONFIG:Release>:${catch2_SYSTEM_LIBS_RELEASE}>
$<$<CONFIG:Release>:>)

####### Find the libraries declared in cpp_info.libs, create an IMPORTED target for each one and link the
####### catch2_DEPS_TARGET to all of them
conan_package_library_targets("${catch2_LIBS_RELEASE}" # libraries
"${catch2_LIB_DIRS_RELEASE}" # package_libdir
"${catch2_BIN_DIRS_RELEASE}" # package_bindir
"${catch2_LIBRARY_TYPE_RELEASE}"
"${catch2_IS_HOST_WINDOWS_RELEASE}"
catch2_DEPS_TARGET
catch2_LIBRARIES_TARGETS # out_libraries_targets
"_RELEASE"
"catch2" # package_name
"${catch2_NO_SONAME_MODE_RELEASE}") # soname

# FIXME: What is the result of this for multi-config? All configs adding themselves to path?
set(CMAKE_MODULE_PATH ${catch2_BUILD_DIRS_RELEASE} ${CMAKE_MODULE_PATH})

########## COMPONENTS TARGET PROPERTIES Release ########################################

########## COMPONENT Catch2::Catch2WithMain #############

set(catch2_Catch2_Catch2WithMain_FRAMEWORKS_FOUND_RELEASE "")
conan_find_apple_frameworks(catch2_Catch2_Catch2WithMain_FRAMEWORKS_FOUND_RELEASE "${catch2_Catch2_Catch2WithMain_FRAMEWORKS_RELEASE}" "${catch2_Catch2_Catch2WithMain_FRAMEWORK_DIRS_RELEASE}")

set(catch2_Catch2_Catch2WithMain_LIBRARIES_TARGETS "")

######## Create an interface target to contain all the dependencies (frameworks, system and conan deps)
if(NOT TARGET catch2_Catch2_Catch2WithMain_DEPS_TARGET)
add_library(catch2_Catch2_Catch2WithMain_DEPS_TARGET INTERFACE IMPORTED)
endif()

set_property(TARGET catch2_Catch2_Catch2WithMain_DEPS_TARGET
APPEND PROPERTY INTERFACE_LINK_LIBRARIES
$<$<CONFIG:Release>:${catch2_Catch2_Catch2WithMain_FRAMEWORKS_FOUND_RELEASE}>
$<$<CONFIG:Release>:${catch2_Catch2_Catch2WithMain_SYSTEM_LIBS_RELEASE}>
$<$<CONFIG:Release>:${catch2_Catch2_Catch2WithMain_DEPENDENCIES_RELEASE}>
)

####### Find the libraries declared in cpp_info.component["xxx"].libs,
####### create an IMPORTED target for each one and link the 'catch2_Catch2_Catch2WithMain_DEPS_TARGET' to all of them
conan_package_library_targets("${catch2_Catch2_Catch2WithMain_LIBS_RELEASE}"
"${catch2_Catch2_Catch2WithMain_LIB_DIRS_RELEASE}"
"${catch2_Catch2_Catch2WithMain_BIN_DIRS_RELEASE}" # package_bindir
"${catch2_Catch2_Catch2WithMain_LIBRARY_TYPE_RELEASE}"
"${catch2_Catch2_Catch2WithMain_IS_HOST_WINDOWS_RELEASE}"
catch2_Catch2_Catch2WithMain_DEPS_TARGET
catch2_Catch2_Catch2WithMain_LIBRARIES_TARGETS
"_RELEASE"
"catch2_Catch2_Catch2WithMain"
"${catch2_Catch2_Catch2WithMain_NO_SONAME_MODE_RELEASE}")


########## TARGET PROPERTIES #####################################
set_property(TARGET Catch2::Catch2WithMain
APPEND PROPERTY INTERFACE_LINK_LIBRARIES
$<$<CONFIG:Release>:${catch2_Catch2_Catch2WithMain_OBJECTS_RELEASE}>
$<$<CONFIG:Release>:${catch2_Catch2_Catch2WithMain_LIBRARIES_TARGETS}>
)

if("${catch2_Catch2_Catch2WithMain_LIBS_RELEASE}" STREQUAL "")
# If the component is not declaring any "cpp_info.components['foo'].libs" the system, frameworks etc are not
# linked to the imported targets and we need to do it to the global target
set_property(TARGET Catch2::Catch2WithMain
APPEND PROPERTY INTERFACE_LINK_LIBRARIES
catch2_Catch2_Catch2WithMain_DEPS_TARGET)
endif()

set_property(TARGET Catch2::Catch2WithMain APPEND PROPERTY INTERFACE_LINK_OPTIONS
$<$<CONFIG:Release>:${catch2_Catch2_Catch2WithMain_LINKER_FLAGS_RELEASE}>)
set_property(TARGET Catch2::Catch2WithMain APPEND PROPERTY INTERFACE_INCLUDE_DIRECTORIES
$<$<CONFIG:Release>:${catch2_Catch2_Catch2WithMain_INCLUDE_DIRS_RELEASE}>)
set_property(TARGET Catch2::Catch2WithMain APPEND PROPERTY INTERFACE_LINK_DIRECTORIES
$<$<CONFIG:Release>:${catch2_Catch2_Catch2WithMain_LIB_DIRS_RELEASE}>)
set_property(TARGET Catch2::Catch2WithMain APPEND PROPERTY INTERFACE_COMPILE_DEFINITIONS
$<$<CONFIG:Release>:${catch2_Catch2_Catch2WithMain_COMPILE_DEFINITIONS_RELEASE}>)
set_property(TARGET Catch2::Catch2WithMain APPEND PROPERTY INTERFACE_COMPILE_OPTIONS
$<$<CONFIG:Release>:${catch2_Catch2_Catch2WithMain_COMPILE_OPTIONS_RELEASE}>)

########## COMPONENT Catch2::Catch2 #############

set(catch2_Catch2_Catch2_FRAMEWORKS_FOUND_RELEASE "")
conan_find_apple_frameworks(catch2_Catch2_Catch2_FRAMEWORKS_FOUND_RELEASE "${catch2_Catch2_Catch2_FRAMEWORKS_RELEASE}" "${catch2_Catch2_Catch2_FRAMEWORK_DIRS_RELEASE}")

set(catch2_Catch2_Catch2_LIBRARIES_TARGETS "")

######## Create an interface target to contain all the dependencies (frameworks, system and conan deps)
if(NOT TARGET catch2_Catch2_Catch2_DEPS_TARGET)
add_library(catch2_Catch2_Catch2_DEPS_TARGET INTERFACE IMPORTED)
endif()

set_property(TARGET catch2_Catch2_Catch2_DEPS_TARGET
APPEND PROPERTY INTERFACE_LINK_LIBRARIES
$<$<CONFIG:Release>:${catch2_Catch2_Catch2_FRAMEWORKS_FOUND_RELEASE}>
$<$<CONFIG:Release>:${catch2_Catch2_Catch2_SYSTEM_LIBS_RELEASE}>
$<$<CONFIG:Release>:${catch2_Catch2_Catch2_DEPENDENCIES_RELEASE}>
)

####### Find the libraries declared in cpp_info.component["xxx"].libs,
####### create an IMPORTED target for each one and link the 'catch2_Catch2_Catch2_DEPS_TARGET' to all of them
conan_package_library_targets("${catch2_Catch2_Catch2_LIBS_RELEASE}"
"${catch2_Catch2_Catch2_LIB_DIRS_RELEASE}"
"${catch2_Catch2_Catch2_BIN_DIRS_RELEASE}" # package_bindir
"${catch2_Catch2_Catch2_LIBRARY_TYPE_RELEASE}"
"${catch2_Catch2_Catch2_IS_HOST_WINDOWS_RELEASE}"
catch2_Catch2_Catch2_DEPS_TARGET
catch2_Catch2_Catch2_LIBRARIES_TARGETS
"_RELEASE"
"catch2_Catch2_Catch2"
"${catch2_Catch2_Catch2_NO_SONAME_MODE_RELEASE}")


########## TARGET PROPERTIES #####################################
set_property(TARGET Catch2::Catch2
APPEND PROPERTY INTERFACE_LINK_LIBRARIES
$<$<CONFIG:Release>:${catch2_Catch2_Catch2_OBJECTS_RELEASE}>
$<$<CONFIG:Release>:${catch2_Catch2_Catch2_LIBRARIES_TARGETS}>
)

if("${catch2_Catch2_Catch2_LIBS_RELEASE}" STREQUAL "")
# If the component is not declaring any "cpp_info.components['foo'].libs" the system, frameworks etc are not
# linked to the imported targets and we need to do it to the global target
set_property(TARGET Catch2::Catch2
APPEND PROPERTY INTERFACE_LINK_LIBRARIES
catch2_Catch2_Catch2_DEPS_TARGET)
endif()

set_property(TARGET Catch2::Catch2 APPEND PROPERTY INTERFACE_LINK_OPTIONS
$<$<CONFIG:Release>:${catch2_Catch2_Catch2_LINKER_FLAGS_RELEASE}>)
set_property(TARGET Catch2::Catch2 APPEND PROPERTY INTERFACE_INCLUDE_DIRECTORIES
$<$<CONFIG:Release>:${catch2_Catch2_Catch2_INCLUDE_DIRS_RELEASE}>)
set_property(TARGET Catch2::Catch2 APPEND PROPERTY INTERFACE_LINK_DIRECTORIES
$<$<CONFIG:Release>:${catch2_Catch2_Catch2_LIB_DIRS_RELEASE}>)
set_property(TARGET Catch2::Catch2 APPEND PROPERTY INTERFACE_COMPILE_DEFINITIONS
$<$<CONFIG:Release>:${catch2_Catch2_Catch2_COMPILE_DEFINITIONS_RELEASE}>)
set_property(TARGET Catch2::Catch2 APPEND PROPERTY INTERFACE_COMPILE_OPTIONS
$<$<CONFIG:Release>:${catch2_Catch2_Catch2_COMPILE_OPTIONS_RELEASE}>)

########## AGGREGATED GLOBAL TARGET WITH THE COMPONENTS #####################
set_property(TARGET Catch2::Catch2WithMain APPEND PROPERTY INTERFACE_LINK_LIBRARIES Catch2::Catch2WithMain)
set_property(TARGET Catch2::Catch2WithMain APPEND PROPERTY INTERFACE_LINK_LIBRARIES Catch2::Catch2)

########## For the modules (FindXXX)
set(catch2_LIBRARIES_RELEASE Catch2::Catch2WithMain)
112 changes: 112 additions & 0 deletions conan/Catch2-release-x86_64-data.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
########### AGGREGATED COMPONENTS AND DEPENDENCIES FOR THE MULTI CONFIG #####################
#############################################################################################

list(APPEND catch2_COMPONENT_NAMES Catch2::Catch2 Catch2::Catch2WithMain)
list(REMOVE_DUPLICATES catch2_COMPONENT_NAMES)
if(DEFINED catch2_FIND_DEPENDENCY_NAMES)
list(APPEND catch2_FIND_DEPENDENCY_NAMES )
list(REMOVE_DUPLICATES catch2_FIND_DEPENDENCY_NAMES)
else()
set(catch2_FIND_DEPENDENCY_NAMES )
endif()

########### VARIABLES #######################################################################
#############################################################################################
set(catch2_PACKAGE_FOLDER_RELEASE "/home/levent/.conan2/p/b/catchf310bb78e80eb/p")
set(catch2_BUILD_MODULES_PATHS_RELEASE )


set(catch2_INCLUDE_DIRS_RELEASE "${catch2_PACKAGE_FOLDER_RELEASE}/include")
set(catch2_RES_DIRS_RELEASE )
set(catch2_DEFINITIONS_RELEASE )
set(catch2_SHARED_LINK_FLAGS_RELEASE )
set(catch2_EXE_LINK_FLAGS_RELEASE )
set(catch2_OBJECTS_RELEASE )
set(catch2_COMPILE_DEFINITIONS_RELEASE )
set(catch2_COMPILE_OPTIONS_C_RELEASE )
set(catch2_COMPILE_OPTIONS_CXX_RELEASE )
set(catch2_LIB_DIRS_RELEASE "${catch2_PACKAGE_FOLDER_RELEASE}/lib")
set(catch2_BIN_DIRS_RELEASE )
set(catch2_LIBRARY_TYPE_RELEASE UNKNOWN)
set(catch2_IS_HOST_WINDOWS_RELEASE 0)
set(catch2_LIBS_RELEASE Catch2WithMain)
set(catch2_SYSTEM_LIBS_RELEASE )
set(catch2_FRAMEWORK_DIRS_RELEASE )
set(catch2_FRAMEWORKS_RELEASE )
set(catch2_BUILD_DIRS_RELEASE "${catch2_PACKAGE_FOLDER_RELEASE}/lib/cmake/Catch2")
set(catch2_NO_SONAME_MODE_RELEASE FALSE)


# COMPOUND VARIABLES
set(catch2_COMPILE_OPTIONS_RELEASE
"$<$<COMPILE_LANGUAGE:CXX>:${catch2_COMPILE_OPTIONS_CXX_RELEASE}>"
"$<$<COMPILE_LANGUAGE:C>:${catch2_COMPILE_OPTIONS_C_RELEASE}>")
set(catch2_LINKER_FLAGS_RELEASE
"$<$<STREQUAL:$<TARGET_PROPERTY:TYPE>,SHARED_LIBRARY>:${catch2_SHARED_LINK_FLAGS_RELEASE}>"
"$<$<STREQUAL:$<TARGET_PROPERTY:TYPE>,MODULE_LIBRARY>:${catch2_SHARED_LINK_FLAGS_RELEASE}>"
"$<$<STREQUAL:$<TARGET_PROPERTY:TYPE>,EXECUTABLE>:${catch2_EXE_LINK_FLAGS_RELEASE}>")


set(catch2_COMPONENTS_RELEASE Catch2::Catch2 Catch2::Catch2WithMain)
########### COMPONENT Catch2::Catch2WithMain VARIABLES ############################################

set(catch2_Catch2_Catch2WithMain_INCLUDE_DIRS_RELEASE "${catch2_PACKAGE_FOLDER_RELEASE}/include")
set(catch2_Catch2_Catch2WithMain_LIB_DIRS_RELEASE "${catch2_PACKAGE_FOLDER_RELEASE}/lib")
set(catch2_Catch2_Catch2WithMain_BIN_DIRS_RELEASE )
set(catch2_Catch2_Catch2WithMain_LIBRARY_TYPE_RELEASE UNKNOWN)
set(catch2_Catch2_Catch2WithMain_IS_HOST_WINDOWS_RELEASE 0)
set(catch2_Catch2_Catch2WithMain_RES_DIRS_RELEASE )
set(catch2_Catch2_Catch2WithMain_DEFINITIONS_RELEASE )
set(catch2_Catch2_Catch2WithMain_OBJECTS_RELEASE )
set(catch2_Catch2_Catch2WithMain_COMPILE_DEFINITIONS_RELEASE )
set(catch2_Catch2_Catch2WithMain_COMPILE_OPTIONS_C_RELEASE "")
set(catch2_Catch2_Catch2WithMain_COMPILE_OPTIONS_CXX_RELEASE "")
set(catch2_Catch2_Catch2WithMain_LIBS_RELEASE Catch2WithMain)
set(catch2_Catch2_Catch2WithMain_SYSTEM_LIBS_RELEASE )
set(catch2_Catch2_Catch2WithMain_FRAMEWORK_DIRS_RELEASE )
set(catch2_Catch2_Catch2WithMain_FRAMEWORKS_RELEASE )
set(catch2_Catch2_Catch2WithMain_DEPENDENCIES_RELEASE )
set(catch2_Catch2_Catch2WithMain_SHARED_LINK_FLAGS_RELEASE )
set(catch2_Catch2_Catch2WithMain_EXE_LINK_FLAGS_RELEASE )
set(catch2_Catch2_Catch2WithMain_NO_SONAME_MODE_RELEASE FALSE)

# COMPOUND VARIABLES
set(catch2_Catch2_Catch2WithMain_LINKER_FLAGS_RELEASE
$<$<STREQUAL:$<TARGET_PROPERTY:TYPE>,SHARED_LIBRARY>:${catch2_Catch2_Catch2WithMain_SHARED_LINK_FLAGS_RELEASE}>
$<$<STREQUAL:$<TARGET_PROPERTY:TYPE>,MODULE_LIBRARY>:${catch2_Catch2_Catch2WithMain_SHARED_LINK_FLAGS_RELEASE}>
$<$<STREQUAL:$<TARGET_PROPERTY:TYPE>,EXECUTABLE>:${catch2_Catch2_Catch2WithMain_EXE_LINK_FLAGS_RELEASE}>
)
set(catch2_Catch2_Catch2WithMain_COMPILE_OPTIONS_RELEASE
"$<$<COMPILE_LANGUAGE:CXX>:${catch2_Catch2_Catch2WithMain_COMPILE_OPTIONS_CXX_RELEASE}>"
"$<$<COMPILE_LANGUAGE:C>:${catch2_Catch2_Catch2WithMain_COMPILE_OPTIONS_C_RELEASE}>")
########### COMPONENT Catch2::Catch2 VARIABLES ############################################

set(catch2_Catch2_Catch2_INCLUDE_DIRS_RELEASE "${catch2_PACKAGE_FOLDER_RELEASE}/include")
set(catch2_Catch2_Catch2_LIB_DIRS_RELEASE "${catch2_PACKAGE_FOLDER_RELEASE}/lib")
set(catch2_Catch2_Catch2_BIN_DIRS_RELEASE )
set(catch2_Catch2_Catch2_LIBRARY_TYPE_RELEASE UNKNOWN)
set(catch2_Catch2_Catch2_IS_HOST_WINDOWS_RELEASE 0)
set(catch2_Catch2_Catch2_RES_DIRS_RELEASE )
set(catch2_Catch2_Catch2_DEFINITIONS_RELEASE )
set(catch2_Catch2_Catch2_OBJECTS_RELEASE )
set(catch2_Catch2_Catch2_COMPILE_DEFINITIONS_RELEASE )
set(catch2_Catch2_Catch2_COMPILE_OPTIONS_C_RELEASE "")
set(catch2_Catch2_Catch2_COMPILE_OPTIONS_CXX_RELEASE "")
set(catch2_Catch2_Catch2_LIBS_RELEASE )
set(catch2_Catch2_Catch2_SYSTEM_LIBS_RELEASE )
set(catch2_Catch2_Catch2_FRAMEWORK_DIRS_RELEASE )
set(catch2_Catch2_Catch2_FRAMEWORKS_RELEASE )
set(catch2_Catch2_Catch2_DEPENDENCIES_RELEASE )
set(catch2_Catch2_Catch2_SHARED_LINK_FLAGS_RELEASE )
set(catch2_Catch2_Catch2_EXE_LINK_FLAGS_RELEASE )
set(catch2_Catch2_Catch2_NO_SONAME_MODE_RELEASE FALSE)

# COMPOUND VARIABLES
set(catch2_Catch2_Catch2_LINKER_FLAGS_RELEASE
$<$<STREQUAL:$<TARGET_PROPERTY:TYPE>,SHARED_LIBRARY>:${catch2_Catch2_Catch2_SHARED_LINK_FLAGS_RELEASE}>
$<$<STREQUAL:$<TARGET_PROPERTY:TYPE>,MODULE_LIBRARY>:${catch2_Catch2_Catch2_SHARED_LINK_FLAGS_RELEASE}>
$<$<STREQUAL:$<TARGET_PROPERTY:TYPE>,EXECUTABLE>:${catch2_Catch2_Catch2_EXE_LINK_FLAGS_RELEASE}>
)
set(catch2_Catch2_Catch2_COMPILE_OPTIONS_RELEASE
"$<$<COMPILE_LANGUAGE:CXX>:${catch2_Catch2_Catch2_COMPILE_OPTIONS_CXX_RELEASE}>"
"$<$<COMPILE_LANGUAGE:C>:${catch2_Catch2_Catch2_COMPILE_OPTIONS_C_RELEASE}>")
41 changes: 41 additions & 0 deletions conan/Catch2Config.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
########## MACROS ###########################################################################
#############################################################################################

# Requires CMake > 3.15
if(${CMAKE_VERSION} VERSION_LESS "3.15")
message(FATAL_ERROR "The 'CMakeDeps' generator only works with CMake >= 3.15")
endif()

if(Catch2_FIND_QUIETLY)
set(Catch2_MESSAGE_MODE VERBOSE)
else()
set(Catch2_MESSAGE_MODE STATUS)
endif()

include(${CMAKE_CURRENT_LIST_DIR}/cmakedeps_macros.cmake)
include(${CMAKE_CURRENT_LIST_DIR}/Catch2Targets.cmake)
include(CMakeFindDependencyMacro)

check_build_type_defined()

foreach(_DEPENDENCY ${catch2_FIND_DEPENDENCY_NAMES} )
# Check that we have not already called a find_package with the transitive dependency
if(NOT ${_DEPENDENCY}_FOUND)
find_dependency(${_DEPENDENCY} REQUIRED ${${_DEPENDENCY}_FIND_MODE})
endif()
endforeach()

set(Catch2_VERSION_STRING "2.13.10")
set(Catch2_INCLUDE_DIRS ${catch2_INCLUDE_DIRS_RELEASE} )
set(Catch2_INCLUDE_DIR ${catch2_INCLUDE_DIRS_RELEASE} )
set(Catch2_LIBRARIES ${catch2_LIBRARIES_RELEASE} )
set(Catch2_DEFINITIONS ${catch2_DEFINITIONS_RELEASE} )


# Only the last installed configuration BUILD_MODULES are included to avoid the collision
foreach(_BUILD_MODULE ${catch2_BUILD_MODULES_PATHS_RELEASE} )
message(${Catch2_MESSAGE_MODE} "Conan: Including build module from '${_BUILD_MODULE}'")
include(${_BUILD_MODULE})
endforeach()


Loading

0 comments on commit 10a1993

Please sign in to comment.