mirror of https://github.com/vitalif/grive2
27 lines
444 B
CMake
27 lines
444 B
CMake
project( grive )
|
|
|
|
include_directories(
|
|
${grive_SOURCE_DIR}/../libgrive/src
|
|
${OPT_INCS}
|
|
)
|
|
|
|
add_definitions( -DVERSION="${GRIVE_VERSION}" )
|
|
|
|
file (GLOB GRIVE_EXE_SRC
|
|
${grive_SOURCE_DIR}/src/*.cc
|
|
)
|
|
|
|
add_executable( grive_executable
|
|
${GRIVE_EXE_SRC}
|
|
)
|
|
|
|
target_link_libraries( grive_executable
|
|
grive
|
|
)
|
|
|
|
set_target_properties( grive_executable
|
|
PROPERTIES OUTPUT_NAME grive
|
|
)
|
|
|
|
install(TARGETS grive_executable RUNTIME DESTINATION bin)
|