option(ENABLE_OPENMP "Enable the OpenMP codepath" ON)
option(ENABLE_MSVC_TOOLSET_DIR "Enable adding a subdir for the MSVC toolset" ON)
option(BUILD_SHARED_LIBS "Build OpenVDS as a shared library" ON)
option(BUILD_EXAMPLES "Build OpenVDS example projects" ON)
option(BUILD_TESTS "Build OpenVDS tests" ON)
option(BUILD_DOCS "Build OpenVDS docs" OFF)
option(ENABLE_RUNPATH_ORIGIN "On Linux make the install have ORIGIN as RUNPATH" ON)
option(DISABLE_STRICT_WARNINGS "Disable strict warnings settings. This includes making warnings to errors." OFF)
option(DISABLE_AWS_IOMANAGER "Disable compiling the Aws-cpp-sdk IOManager backend." OFF)
option(DISABLE_AZURE_IOMANAGER "Disable compiling Azure-storage-cpp and cpprestapi. This also disables Azure support for DMS." OFF)
option(DISABLE_AZURESDKFORCPP_IOMANAGER "Disable compiling AzureSdkForCpp. This also disables Azure support for DMS."${DEFAULT_DISABLE_AZURESDKFORCPP})
option(BUILD_CURL "Build libcurl as part of the openVDS build"${DEFAULT_BUILD_CURL})
option(BUILD_UV "Build libuv as part of the openVDS build"${DEFAULT_BUILD_UV})
option(BUILD_LIBXML "Build libxml2 as part of the openVDS build"${DEFAULT_BUILD_LIBXML})
option(USE_LIBRESSL "Build libressl as part of the openVDS build and use it instead of OpenSSL"${DEFAULT_USE_LIBRESSL})
option(AUTODETECT_CA_CERTIFICATES "Make python initialization script autodetect location of ca certificates" OFF)
include(CMakeDependentOption)
cmake_dependent_option(
DISABLE_CURL_IOMANAGER "Disable all IOManagers based on CURL."
ON "DISABLE_AZURE_PRESIGNED_IOMANAGER;DISABLE_GCP_IOMANAGER" OFF)
mark_as_advanced(DISABLE_CURL_IOMANAGER)
if((${CMAKE_MAJOR_VERSION} EQUAL 3)AND(${CMAKE_MINOR_VERSION} EQUAL 19)AND(${CMAKE_PATCH_VERSION} LESS 3 OR ${CMAKE_PATCH_VERSION} EQUAL 20122902)AND(NOT ${DISABLE_AWS_IOMANAGER}))
message(FATAL_ERROR "A bug in CMake 3.19 series makes it is makes it not possible to build the AWS backend code.\n Please upgrade og downgrade. Its possible to use custom version of cmake in Visual Studio under CMake Settings.\n Disable AWS IO Manager by defining -DDISABLE_AWS_IOMANAGER=ON as a cmake parameter")
endif()
if(EMSCRIPTEN)
option(ENABLE_OPENMP "Enable the OpenMP codepath" ON)# In case OpenMP is supported in the future.
option(DISABLE_STRICT_WARNINGS "Disable strict warnings settings. This includes making warnings to errors." OFF)
option(ENABLE_OPENMP "Enable the OpenMP codepath" ON)
option(ENABLE_MSVC_TOOLSET_DIR "Enable adding a subdir for the MSVC toolset" ON)
option(BUILD_SHARED_LIBS "Build OpenVDS as a shared library" ON)
option(BUILD_EXAMPLES "Build OpenVDS example projects" ON)
option(BUILD_TESTS "Build OpenVDS tests" ON)
option(BUILD_DOCS "Build OpenVDS docs" OFF)
option(ENABLE_RUNPATH_ORIGIN "On Linux make the install have ORIGIN as RUNPATH" ON)
option(DISABLE_STRICT_WARNINGS "Disable strict warnings settings. This includes making warnings to errors." OFF)
option(DISABLE_AWS_IOMANAGER "Disable compiling the Aws-cpp-sdk IOManager backend." OFF)
option(DISABLE_AZURE_IOMANAGER "Disable compiling Azure-storage-cpp and cpprestapi. This also disables Azure support for DMS." OFF)
option(DISABLE_AZURESDKFORCPP_IOMANAGER "Disable compiling AzureSdkForCpp. This also disables Azure support for DMS."${DEFAULT_DISABLE_AZURESDKFORCPP})
option(BUILD_CURL "Build libcurl as part of the openVDS build"${DEFAULT_BUILD_CURL})
option(BUILD_UV "Build libuv as part of the openVDS build"${DEFAULT_BUILD_UV})
option(BUILD_LIBXML "Build libxml2 as part of the openVDS build"${DEFAULT_BUILD_LIBXML})
option(USE_LIBRESSL "Build libressl as part of the openVDS build and use it instead of OpenSSL"${DEFAULT_USE_LIBRESSL})
option(AUTODETECT_CA_CERTIFICATES "Make python initialization script autodetect location of ca certificates" OFF)
include(CMakeDependentOption)
cmake_dependent_option(
DISABLE_CURL_IOMANAGER "Disable all IOManagers based on CURL."
ON "DISABLE_AZURE_PRESIGNED_IOMANAGER;DISABLE_GCP_IOMANAGER" OFF)
mark_as_advanced(DISABLE_CURL_IOMANAGER)
if((${CMAKE_MAJOR_VERSION} EQUAL 3)AND(${CMAKE_MINOR_VERSION} EQUAL 19)AND(${CMAKE_PATCH_VERSION} LESS 3 OR ${CMAKE_PATCH_VERSION} EQUAL 20122902)AND(NOT ${DISABLE_AWS_IOMANAGER}))
message(FATAL_ERROR "A bug in CMake 3.19 series makes it is makes it not possible to build the AWS backend code.\n Please upgrade og downgrade. Its possible to use custom version of cmake in Visual Studio under CMake Settings.\n Disable AWS IO Manager by defining -DDISABLE_AWS_IOMANAGER=ON as a cmake parameter")