diff options
| author | Petr Mrázek | 2012-03-13 14:46:48 +0100 |
|---|---|---|
| committer | Petr Mrázek | 2012-03-13 14:46:48 +0100 |
| commit | eb4757043b12764f20c6bd1a6edc12201f74b2ce (patch) | |
| tree | cfb41b761fa691651b88ce330fde59e57862a384 /plugins/mapexport | |
| parent | b3f6bccdf6ba559cfbff462029ea350f5d367171 (diff) | |
| download | dfhack-eb4757043b12764f20c6bd1a6edc12201f74b2ce.tar.gz dfhack-eb4757043b12764f20c6bd1a6edc12201f74b2ce.tar.bz2 dfhack-eb4757043b12764f20c6bd1a6edc12201f74b2ce.tar.xz | |
Move depends out of main library, make them (static) libraries.
Diffstat (limited to 'plugins/mapexport')
| -rw-r--r-- | plugins/mapexport/CMakeLists.txt | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/plugins/mapexport/CMakeLists.txt b/plugins/mapexport/CMakeLists.txt index bebdd08e..429507a7 100644 --- a/plugins/mapexport/CMakeLists.txt +++ b/plugins/mapexport/CMakeLists.txt @@ -1,14 +1,7 @@ PROJECT(mapexport) -#The protobuf sources we generate will require these headers +# add *our* headers here. SET(PROJECT_HDRS -${dfhack_SOURCE_DIR}/library/depends/protobuf/google/protobuf/stubs/once.h -${dfhack_SOURCE_DIR}/library/depends/protobuf/google/protobuf/stubs/common.h -${dfhack_SOURCE_DIR}/library/depends/protobuf/google/protobuf/io/coded_stream.h -${dfhack_SOURCE_DIR}/library/depends/protobuf/google/protobuf/wire_format_lite_inl.h -${dfhack_SOURCE_DIR}/library/depends/protobuf/google/protobuf/generated_message_util.h -${dfhack_SOURCE_DIR}/library/depends/protobuf/google/protobuf/repeated_field.h -${dfhack_SOURCE_DIR}/library/depends/protobuf/google/protobuf/extension_set.h ) SET(PROJECT_SRCS @@ -27,6 +20,9 @@ ${CMAKE_CURRENT_SOURCE_DIR}/proto/Map.proto STRING(REPLACE ".proto" ".pb.cc;" PROJECT_PROTO_SRCS ${PROJECT_PROTOS}) STRING(REPLACE ".proto" ".pb.h;" PROJECT_PROTO_HDRS ${PROJECT_PROTOS}) +SET_SOURCE_FILES_PROPERTIES( ${PROJECT_PROTO_HDRS} PROPERTIES GENERATED TRUE) +SET_SOURCE_FILES_PROPERTIES( ${PROJECT_PROTO_SRCS} PROPERTIES GENERATED TRUE) + LIST(APPEND PROJECT_HDRS ${PROJECT_PROTO_HDRS}) LIST(APPEND PROJECT_SRCS ${PROJECT_PROTO_SRCS}) |
