Updated Readme
This commit is contained in:
+10
-3
@@ -16,8 +16,11 @@ if(WIN32)
|
|||||||
if (CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL ${vs_ver})
|
if (CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL ${vs_ver})
|
||||||
message("Visual Studio version is at least ${vs_ver}")
|
message("Visual Studio version is at least ${vs_ver}")
|
||||||
|
|
||||||
set(CMAKE_CXX17_STANDARD_COMPILE_OPTION "-std:c++latest")
|
set(CMAKE_CXX_STANDARD_COMPILE_OPTION "-std:c++latest")
|
||||||
set(CMAKE_CXX17_EXTENSION_COMPILE_OPTION "-std:c++latest")
|
set(CMAKE_CXX_EXTENSION_COMPILE_OPTION "-std:c++latest")
|
||||||
|
|
||||||
|
set(CMAKE_CXX_STANDARD 17)
|
||||||
|
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||||
endif()
|
endif()
|
||||||
else()
|
else()
|
||||||
check_cxx_compiler_flag("-std=c++17" COMPILER_SUPPORTS_CXX17)
|
check_cxx_compiler_flag("-std=c++17" COMPILER_SUPPORTS_CXX17)
|
||||||
@@ -67,7 +70,11 @@ set(IDM_INCLUDE_DIR
|
|||||||
"${CMAKE_CURRENT_SOURCE_DIR}/include")
|
"${CMAKE_CURRENT_SOURCE_DIR}/include")
|
||||||
|
|
||||||
# conan
|
# conan
|
||||||
include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake)
|
set(CONAN_BUILDINFO
|
||||||
|
${CMAKE_BINARY_DIR}/conanbuildinfo.cmake)
|
||||||
|
|
||||||
|
message("conan build info ${CONAN_BUILDINFO}")
|
||||||
|
include(${CONAN_BUILDINFO})
|
||||||
conan_basic_setup()
|
conan_basic_setup()
|
||||||
|
|
||||||
include_directories(${CPR_INCLUDE_DIRS} ${IDM_INCLUDE_DIR})
|
include_directories(${CPR_INCLUDE_DIRS} ${IDM_INCLUDE_DIR})
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ cmake --build . -j
|
|||||||
The program has been built and can be executed by the binary file *icd*. For information on how to use icd, merely execute the program without any command line arguments.
|
The program has been built and can be executed by the binary file *icd*. For information on how to use icd, merely execute the program without any command line arguments.
|
||||||
|
|
||||||
### Downloading Song
|
### Downloading Song
|
||||||
``BASH
|
```BASH
|
||||||
icd download -u spacecadet -p stellar40 -h https://icarus.com -b 15
|
icd download -u spacecadet -p stellar40 -h https://icarus.com -b 15
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@@ -6,3 +6,15 @@ cpr/1.7.2
|
|||||||
|
|
||||||
[generators]
|
[generators]
|
||||||
cmake
|
cmake
|
||||||
|
|
||||||
|
[options]
|
||||||
|
openssl:shared=False
|
||||||
|
libcurl:shared=False
|
||||||
|
cpr:shared=False
|
||||||
|
libcurl:with_ssl=openssl
|
||||||
|
libcurl:with_ftp=False
|
||||||
|
libcurl:with_gopher=False
|
||||||
|
libcurl:with_imap=False
|
||||||
|
libcurl:with_pop3=False
|
||||||
|
libcurl:with_smb=False
|
||||||
|
libcurl:with_smtp=False
|
||||||
Reference in New Issue
Block a user