Files @ fe47e0979be9
Branch filter:

Location: libtransport.git/msvc-deps/protobuf/libprotobuf/CMakeLists.txt

Jan Kaluza
Split libtransport in two - libtransport and XMPPFrontend (lives in ./spectrum/src/frontends/xmpp). It's first step to allow generic Spectrum 2 frontends.
1
2
3
4
5
6
7
8
cmake_minimum_required(VERSION 2.6)
FILE(GLOB SRC google/protobuf/*.cc google/protobuf/*.h google/protobuf/io/*.cc google/protobuf/io/*.h google/protobuf/stubs/*.cc google/protobuf/stubs/*.h google/protobuf/compiler/*.cc google/protobuf/compiler/*.h)

include_directories(.)

ADD_LIBRARY(libprotobuf STATIC ${HEADERS} ${SRC})

INSTALL(TARGETS libprotobuf LIBRARY DESTINATION lib ARCHIVE DESTINATION lib COMPONENT libraries)