source: nscp/libs/protobuf/CMakeLists.txt @ 1ecd26f

0.4.00.4.10.4.2
Last change on this file since 1ecd26f was 1ecd26f, checked in by Michael Medin <michael@…>, 2 years ago

syncronized streams between 0.4.x and 0.3.x as well as improed the CMAke build *alot*

  • Property mode set to 100644
File size: 360 bytes
Line 
1CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
2
3WRAP_PROTO(PROTO_PLUGIN_SRC plugin.proto)
4WRAP_PROTO(PROTO_LOG_SRC log.proto)
5
6SET(TARGET protobuf)
7
8#PROJECT(${TARGET})
9
10SET(SRCS
11        ${PROTO_PLUGIN_SRC}
12        ${PROTO_LOG_SRC}
13)
14
15add_library(${TARGET} ${SRCS})
16SET_TARGET_PROPERTIES(${TARGET} PROPERTIES FOLDER "libraries")
17
18target_link_libraries(${TARGET}
19        ${PROTOBUF_LIBRARY}
20)
Note: See TracBrowser for help on using the repository browser.