2021-05-10 12:58:00 +00:00
|
|
|
#This needs to be set before project()
|
|
|
|
set(CMAKE_TOOLCHAIN_FILE ${CMAKE_CURRENT_SOURCE_DIR}/vcpkg/scripts/buildsystems/vcpkg.cmake
|
|
|
|
CACHE STRING "Vcpkg toolchain file")
|
|
|
|
|
2020-11-27 13:10:09 +00:00
|
|
|
cmake_minimum_required(VERSION 3.17)
|
2021-06-01 11:57:09 +00:00
|
|
|
enable_language(CXX)
|
2020-11-27 14:09:41 +00:00
|
|
|
project(modern_cpp_exercises )
|
2020-11-23 18:59:11 +00:00
|
|
|
|
|
|
|
set(CMAKE_CXX_STANDARD 20)
|
|
|
|
|
2021-05-10 12:58:00 +00:00
|
|
|
add_subdirectory(lib)
|
|
|
|
add_subdirectory(src)
|
|
|
|
add_subdirectory(test)
|