cmake_minimum_required(VERSION 3.23) cmake_policy(VERSION 3.23) project(forth_kata) set(CMAKE_CXX_STANDARD 14) set(CMAKE_CXX_STANDARD_REQUIRED ON) set(CMAKE_CXX_EXTENSIONS OFF) include(FetchContent) FetchContent_Declare( GoogleTest GIT_REPOSITORY https://github.com/google/googletest.git GIT_TAG 58d77fa8070e8cec2dc1ed015d66b454c8d78850 # release-1.12.1 ) FetchContent_Declare( GSL GIT_REPOSITORY https://github.com/microsoft/GSL.git GIT_TAG a3534567187d2edc428efd3f13466ff75fe5805c # v4.0.0 ) FetchContent_MakeAvailable(GoogleTest GSL) list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/cmake") include(ProjectHelpers) enable_testing() add_subdirectory(projects)