cmake_minimum_required(VERSION 3.16) project(bimap CXX) set(CMAKE_CXX_STANDARD 20) add_library(bimap INTERFACE) target_include_directories(bimap INTERFACE include) add_subdirectory(samples) option(DOWNLOAD_DEPS "Download unsatisfied dependencies using FetchContent" ON) option(BUILD_TESTS "Build tests" ON) if (BUILD_TESTS) if (DOWNLOAD_DEPS) include(cmake/fetch_catch2.cmake) endif() enable_testing() add_subdirectory(test) endif()