added read-url
This commit is contained in:
@@ -10,16 +10,19 @@ set(CPACK_PROJECT_NAME ${PROJECT_NAME})
|
||||
set(CPACK_PROJECT_VERSION ${PROJECT_VERSION})
|
||||
|
||||
|
||||
include_directories(${CMAKE_SOURCE_DIR}/stdlib ${CMAKE_SOURCE_DIR} )
|
||||
include_directories(/usr/local/opt/openssl/include ${CMAKE_SOURCE_DIR}/clib ${CMAKE_SOURCE_DIR} )
|
||||
|
||||
link_directories(/usr/local/lib /usr/local/opt/openssl/lib)
|
||||
|
||||
|
||||
project(ml)
|
||||
|
||||
set(PROJECT_NAME ml)
|
||||
|
||||
set(SOURCE
|
||||
ml.cpp
|
||||
stdlib/csvparser.cpp)
|
||||
clib/csvparser.cpp
|
||||
clib/sslclient.cpp)
|
||||
|
||||
add_executable(${PROJECT_NAME} ${SOURCE})
|
||||
|
||||
target_link_libraries(${PROJECT_NAME} stdc++ m)
|
||||
target_link_libraries(${PROJECT_NAME} stdc++ m ssl crypto)
|
||||
|
||||
Reference in New Issue
Block a user