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 | |
|---|
| 1 | CMAKE_MINIMUM_REQUIRED(VERSION 2.6) |
|---|
| 2 | |
|---|
| 3 | WRAP_PROTO(PROTO_PLUGIN_SRC plugin.proto) |
|---|
| 4 | WRAP_PROTO(PROTO_LOG_SRC log.proto) |
|---|
| 5 | |
|---|
| 6 | SET(TARGET protobuf) |
|---|
| 7 | |
|---|
| 8 | #PROJECT(${TARGET}) |
|---|
| 9 | |
|---|
| 10 | SET(SRCS |
|---|
| 11 | ${PROTO_PLUGIN_SRC} |
|---|
| 12 | ${PROTO_LOG_SRC} |
|---|
| 13 | ) |
|---|
| 14 | |
|---|
| 15 | add_library(${TARGET} ${SRCS}) |
|---|
| 16 | SET_TARGET_PROPERTIES(${TARGET} PROPERTIES FOLDER "libraries") |
|---|
| 17 | |
|---|
| 18 | target_link_libraries(${TARGET} |
|---|
| 19 | ${PROTOBUF_LIBRARY} |
|---|
| 20 | ) |
|---|
Note: See
TracBrowser
for help on using the repository browser.