repertory/cmake/options.cmake
2024-01-30 13:23:14 -06:00

18 lines
447 B
CMake

option(REPERTORY_ENABLE_TESTING "Enable testing" ON)
option(REPERTORY_ENABLE_S3 "Enable S3 mount support" OFF)
if (REPERTORY_ENABLE_S3)
set(REPERTORY_DEFINITIONS
${REPERTORY_DEFINITIONS}
-DREPERTORY_ENABLE_S3
)
option(REPERTORY_ENABLE_S3_TESTING "Enable S3 unit tests" OFF)
if (REPERTORY_ENABLE_S3_TESTING)
set(REPERTORY_DEFINITIONS
${REPERTORY_DEFINITIONS}
-DREPERTORY_ENABLE_S3_TESTING
)
endif ()
endif()