Clementine-audio-player-Mac.../ext/libclementine-remote/CMakeLists.txt

33 lines
632 B
CMake
Raw Normal View History

2013-01-03 21:40:47 +01:00
include_directories(${PROTOBUF_INCLUDE_DIRS})
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} --std=c++0x")
2013-01-03 21:40:47 +01:00
set(MESSAGES
remotecontrolmessages.proto
)
add_library(libclementine-remote STATIC)
2013-01-03 21:40:47 +01:00
protobuf_generate(
LANGUAGE cpp
TARGET libclementine-remote
PROTOS ${MESSAGES}
2013-01-03 21:40:47 +01:00
)
set_property(
TARGET libclementine-remote
PROPERTY CXX_STANDARD 17
)
get_cmake_property(_variableNames VARIABLES)
list (SORT _variableNames)
foreach (_variableName ${_variableNames})
message(STATUS "${_variableName}=${${_variableName}}")
endforeach()
2013-01-03 21:40:47 +01:00
target_link_libraries(libclementine-remote
protobuf::libprotobuf
2013-01-03 21:40:47 +01:00
libclementine-common
)