basic setup with first 3 days

master
Benjamin Kraft 3 years ago
parent fc3cdae817
commit 96e9222a52
  1. 6
      CMakeLists.txt
  2. 1
      src/main.cpp

@ -4,10 +4,10 @@ project(AdventOfCode2022)
set(CMAKE_CXX_STANDARD 23)
include(FetchContent)
FetchContent_Declare(cpr GIT_REPOSITORY https://github.com/libcpr/cpr.git GIT_TAG 67e12da316754ff3c6c91b50aafb2658438f3c1e) # the commit hash for 1.7.0
# FetchContent_MakeAvailable(cpr)
FetchContent_Declare(cpr GIT_REPOSITORY https://github.com/libcpr/cpr.git GIT_TAG 100cf2050be7619430a615cd0d580b33c62fde6b)
FetchContent_MakeAvailable(cpr)
file(GLOB_RECURSE SRC_FILES src/**.cpp src/**.h)
add_executable(AdventOfCode2022 ${SRC_FILES})
# target_link_libraries(AdventOfCode2022 PRIVATE cpr::cpr)
target_link_libraries(AdventOfCode2022 PRIVATE cpr::cpr)

@ -4,6 +4,7 @@
#include <vector>
#include <filesystem>
#include "days.h"
//#include <cpr/cpr.h>
std::vector<std::string> getInput(int day){

Loading…
Cancel
Save