Merge topic 'import-cppdap'

4a84f71049 ci: Provide cppdap in extdeps jobs
5ec69eb58c cppdap: Build as part of CMake or use external installation
3381e6bd5c Merge branch 'upstream-cppdap' into import-cppdap
1daeefc378 cppdap 2023-05-26 (03cc1867)
bd58bc7817 cppdap: Add script to import version as of 2023-05-25
172045b53b jsoncpp: Add cm3p/ headers for json/json.h and json/forwards.h

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Acked-by: Alex <leha-bot@yandex.ru>
Merge-request: !8342
This commit is contained in:
Brad King
2023-05-30 13:44:24 +00:00
committed by Kitware Robot
70 changed files with 12091 additions and 2 deletions
+16
View File
@@ -376,3 +376,19 @@ if(BUILD_CursesDialog)
message(FATAL_ERROR "CMAKE_USE_SYSTEM_FORM in ON but CURSES_FORM_LIBRARY is not set!")
endif()
endif()
#---------------------------------------------------------------------
# Build cppdap library.
if(CMake_ENABLE_CPPDAP)
if(CMAKE_USE_SYSTEM_CPPDAP)
find_package(cppdap CONFIG)
if(NOT cppdap_FOUND)
message(FATAL_ERROR
"CMAKE_USE_SYSTEM_CPPDAP is ON but a cppdap is not found!")
endif()
else()
add_subdirectory(Utilities/cmcppdap)
add_library(cppdap::cppdap ALIAS cmcppdap)
CMAKE_SET_TARGET_FOLDER(cppdap "Utilities/3rdParty")
endif()
endif()