2012-04-25 20:13:17 +04:00
|
|
|
project(grive)
|
|
|
|
|
2012-04-26 08:03:30 +04:00
|
|
|
cmake_minimum_required(VERSION 2.8)
|
|
|
|
|
|
|
|
include(FindOpenSSL)
|
|
|
|
|
2012-04-27 06:49:33 +04:00
|
|
|
include_directories( ${grive_SOURCE_DIR}/src )
|
|
|
|
|
2012-04-25 20:13:17 +04:00
|
|
|
add_executable( grive
|
|
|
|
src/main.cc
|
2012-04-27 06:49:33 +04:00
|
|
|
src/drive/Collection.cc
|
|
|
|
src/drive/Drive.cc
|
|
|
|
src/protocol/Download.cc
|
2012-04-26 08:21:40 +04:00
|
|
|
src/protocol/HTTP.cc
|
|
|
|
src/protocol/Json.cc
|
2012-04-27 06:49:33 +04:00
|
|
|
src/protocol/OAuth2.cc
|
|
|
|
src/util/OS.cc
|
|
|
|
)
|
2012-04-25 20:13:17 +04:00
|
|
|
|
|
|
|
target_link_libraries( grive
|
|
|
|
curl
|
2012-04-26 08:03:30 +04:00
|
|
|
json
|
|
|
|
${OPENSSL_LIBRARIES} )
|