You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
423 B

cmake_minimum_required(VERSION 3.20)
project(AdventOfCode2022)
set(CMAKE_CXX_STANDARD 23)
include(FetchContent)
FetchContent_Declare(cpr GIT_REPOSITORY https://github.com/libcpr/cpr.git GIT_TAG 100cf2050be7619430a615cd0d580b33c62fde6b)
FetchContent_MakeAvailable(cpr)
3 years ago
file(GLOB_RECURSE SRC_FILES src/**.cpp src/**.h)
add_executable(AdventOfCode2022 ${SRC_FILES})
target_link_libraries(AdventOfCode2022 PRIVATE cpr::cpr)