16 lines
297 B
CMake
16 lines
297 B
CMake
cmake_minimum_required(VERSION 3.14)
|
|
project(iprefresher)
|
|
|
|
set(CMAKE_CXX_STANDARD 17)
|
|
|
|
find_package(CURL REQUIRED)
|
|
include_directories(${CURL_INCLUDE_DIR})
|
|
|
|
|
|
set(SOURCE main.cpp API.h API.cpp Hashmap.h)
|
|
|
|
add_executable(iprefresher ${SOURCE})
|
|
|
|
|
|
target_link_libraries(iprefresher ${CURL_LIBRARIES})
|