init repo.
This commit is contained in:
14
CMakeLists.txt
Normal file
14
CMakeLists.txt
Normal file
@@ -0,0 +1,14 @@
|
||||
cmake_minimum_required(VERSION 3.20)
|
||||
project(leetcode-cpp)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 20)
|
||||
include_directories(include)
|
||||
|
||||
find_package(CURL REQUIRED)
|
||||
find_package(nlohmann_json REQUIRED)
|
||||
|
||||
add_executable(leetcode-fetcher main.cpp
|
||||
src/fetcher.cpp)
|
||||
|
||||
target_link_libraries(leetcode-fetcher PRIVATE CURL::libcurl)
|
||||
target_link_libraries(leetcode-fetcher PRIVATE nlohmann_json::nlohmann_json)
|
||||
Reference in New Issue
Block a user