2012-05-02 19:30:49 +04:00
|
|
|
project( grive )
|
|
|
|
|
|
|
|
include_directories(
|
|
|
|
${grive_SOURCE_DIR}/../libgrive/src
|
|
|
|
${OPT_INCS}
|
|
|
|
)
|
2012-05-01 19:24:27 +04:00
|
|
|
|
2012-05-06 18:40:58 +04:00
|
|
|
add_definitions( -DVERSION="${GRIVE_VERSION}" )
|
|
|
|
|
2012-05-01 19:24:27 +04:00
|
|
|
add_executable( grive_executable
|
2012-05-02 19:30:49 +04:00
|
|
|
src/main.cc
|
2012-05-01 19:24:27 +04:00
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries( grive_executable
|
|
|
|
grive
|
|
|
|
)
|
|
|
|
|
|
|
|
set_target_properties( grive_executable
|
|
|
|
PROPERTIES OUTPUT_NAME grive
|
|
|
|
)
|
|
|
|
|
2012-05-02 19:30:49 +04:00
|
|
|
install(TARGETS grive_executable RUNTIME DESTINATION bin)
|