This commit is contained in:
kdeng00
2022-08-07 20:44:37 -04:00
parent 3195011f99
commit 2743543102
2 changed files with 9 additions and 14 deletions
+1 -11
View File
@@ -24,8 +24,8 @@ set(SOFTWARE_VERSION
project(IcarusDownloadManager VERSION ${SOFTWARE_VERSION} DESCRIPTION ${SOFTWARE_DESCRIPTION} LANGUAGES CXX) project(IcarusDownloadManager VERSION ${SOFTWARE_VERSION} DESCRIPTION ${SOFTWARE_DESCRIPTION} LANGUAGES CXX)
message(STATUS "Checking compiler flags for C++20 support.") message(STATUS "Checking compiler flags for C++20 support.")
# Set C++20 support flags for various compilers # Set C++20 support flags for various compilers
include(CheckCXXCompilerFlag) include(CheckCXXCompilerFlag)
@@ -91,16 +91,7 @@ set(SOURCES
set(IDM_INCLUDE_DIR set(IDM_INCLUDE_DIR
"${CMAKE_CURRENT_SOURCE_DIR}/include") "${CMAKE_CURRENT_SOURCE_DIR}/include")
# conan
# set(CONAN_BUILDINFO
# ${CMAKE_BINARY_DIR}/conanbuildinfo.cmake)
# message("conan build info ${CONAN_BUILDINFO}")
# include(${CONAN_BUILDINFO})
# conan_basic_setup()
include_directories(${IDM_INCLUDE_DIR}) include_directories(${IDM_INCLUDE_DIR})
# include_directories(${CPR_INCLUDE_DIRS} ${IDM_INCLUDE_DIR})
set(USE_SYSTEM_CURL OFF) set(USE_SYSTEM_CURL OFF)
set(BUILD_CPR_TESTS OFF) set(BUILD_CPR_TESTS OFF)
@@ -113,4 +104,3 @@ find_package(cpr CONFIG REQUIRED)
add_executable(icd ${SOURCES}) add_executable(icd ${SOURCES})
target_link_libraries(icd PRIVATE nlohmann_json::nlohmann_json OpenSSL::SSL OpenSSL::Crypto CURL::libcurl cpr::cpr) target_link_libraries(icd PRIVATE nlohmann_json::nlohmann_json OpenSSL::SSL OpenSSL::Crypto CURL::libcurl cpr::cpr)
# target_link_libraries(icd PUBLIC ${CONAN_LIBS})
+8 -3
View File
@@ -17,6 +17,12 @@ IcarusDownloadManager is a Linux CLI software client application that has the fe
### Getting Started ### Getting Started
Clone the repo
```
git clone --recursive https://github.com/kdeng00/IcarusDownloadManager
```
Install packages Install packages
``` ```
@@ -26,12 +32,11 @@ vcpkg install curl
vcpkg install cpr vcpkg install cpr
``` ```
Build the project: Build the project:
``` ```
git clone --recursive https://github.com/kdeng00/IcarusDownloadManager cd IcarusDownloadManager
mkdir build mkdir build
cd build cd build