b1923a490c
* split pipeline * add dedicated doc build step * parallel builds * fix permissions * rm push trigger * mv gcc ubuntu * add windows build * always build the docs * doc alignment * checkout recursive * depend on builds for documentation * set standard via cmake * update libCZI to main * pretty_function win32 * version history update * disable windows release build missing dependencies for doc generation trigger ci on push to main adapt doc-gen job require only doxygen
23 lines
674 B
CMake
23 lines
674 B
CMake
include(FetchContent)
|
|
|
|
FetchContent_Declare(
|
|
libCZI
|
|
GIT_REPOSITORY https://github.com/ZEISS/libczi.git
|
|
GIT_TAG main
|
|
)
|
|
|
|
if(NOT libCZI_POPULATED)
|
|
message(STATUS "Fetching libCZI")
|
|
FetchContent_MakeAvailable(libCZI)
|
|
|
|
set(LIBCZI_BUILD_CZICMD OFF CACHE BOOL "" FORCE)
|
|
set(LIBCZI_BUILD_DYNLIB OFF CACHE BOOL "" FORCE)
|
|
set(LIBCZI_BUILD_UNITTESTS OFF CACHE BOOL "" FORCE)
|
|
set(LIBCZI_BUILD_PREFER_EXTERNALPACKAGE_RAPIDJSON OFF CACHE BOOL "" FORCE)
|
|
set(LIBCZI_DO_NOT_SET_MSVC_RUNTIME_LIBRARY ON CACHE BOOL "" FORCE)
|
|
endif()
|
|
|
|
FetchContent_GetProperties(libCZI)
|
|
set(LIBCZI_INCLUDE_DIR "${libczi_SOURCE_DIR}/Src/libCZI")
|
|
message(STATUS ${LIBCZI_INCLUDE_DIR})
|