annotate OrthancFramework/Resources/ProtocolBuffers/ProtobufLibrary.cmake @ 5187:9466c95f70c8 db-protobuf

integrating Protobuf library into Orthanc server
author Sebastien Jodogne <s.jodogne@gmail.com>
date Sun, 26 Mar 2023 11:59:03 +0200
parents 8d19e53cf23e
children 4c6f0211caaf
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5186
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1 # Orthanc - A Lightweight, RESTful DICOM Store
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
2 # Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
3 # Department, University Hospital of Liege, Belgium
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
4 # Copyright (C) 2017-2023 Osimis S.A., Belgium
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
5 # Copyright (C) 2021-2023 Sebastien Jodogne, ICTEAM UCLouvain, Belgium
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
6 #
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
7 # This program is free software: you can redistribute it and/or
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
8 # modify it under the terms of the GNU Lesser General Public License
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
9 # as published by the Free Software Foundation, either version 3 of
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
10 # the License, or (at your option) any later version.
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
11 #
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
12 # This program is distributed in the hope that it will be useful, but
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
13 # WITHOUT ANY WARRANTY; without even the implied warranty of
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
15 # Lesser General Public License for more details.
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
16 #
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
17 # You should have received a copy of the GNU Lesser General Public
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
18 # License along with this program. If not, see
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
19 # <http://www.gnu.org/licenses/>.
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
20
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
21
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
22 DownloadPackage(
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
23 "ca0d9b243e649d398a6b419acd35103a"
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
24 "http://orthanc.uclouvain.be/third-party-downloads/protobuf-cpp-3.5.1.tar.gz"
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
25 "${CMAKE_CURRENT_BINARY_DIR}/protobuf-3.5.1")
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
26
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
27 set(PROTOBUF_SOURCE_DIR ${CMAKE_CURRENT_BINARY_DIR}/protobuf-3.5.1)
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
28
5187
9466c95f70c8 integrating Protobuf library into Orthanc server
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 5186
diff changeset
29 include_directories(
9466c95f70c8 integrating Protobuf library into Orthanc server
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 5186
diff changeset
30 ${PROTOBUF_SOURCE_DIR}/src
9466c95f70c8 integrating Protobuf library into Orthanc server
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 5186
diff changeset
31 )
9466c95f70c8 integrating Protobuf library into Orthanc server
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 5186
diff changeset
32
5186
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
33 set(PROTOBUF_LIBRARY_SOURCES
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
34 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/any.cc
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
35 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/any.pb.cc
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
36 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/api.pb.cc
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
37 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/arena.cc
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
38 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/arenastring.cc
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
39 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/descriptor.cc
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
40 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/descriptor.pb.cc
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
41 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/descriptor_database.cc
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
42 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/duration.pb.cc
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
43 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/dynamic_message.cc
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
44 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/empty.pb.cc
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
45 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/extension_set.cc
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
46 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/extension_set_heavy.cc
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
47 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/field_mask.pb.cc
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
48 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/generated_message_reflection.cc
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
49 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/generated_message_table_driven.cc
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
50 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/generated_message_table_driven_lite.cc
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
51 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/generated_message_util.cc
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
52 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/io/coded_stream.cc
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
53 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/io/gzip_stream.cc
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
54 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/io/printer.cc
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
55 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/io/strtod.cc
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
56 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/io/tokenizer.cc
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
57 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/io/zero_copy_stream.cc
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
58 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/io/zero_copy_stream_impl.cc
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
59 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/io/zero_copy_stream_impl_lite.cc
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
60 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/map_field.cc
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
61 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/message.cc
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
62 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/message_lite.cc
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
63 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/reflection_ops.cc
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
64 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/repeated_field.cc
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
65 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/service.cc
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
66 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/source_context.pb.cc
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
67 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/struct.pb.cc
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
68 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/stubs/atomicops_internals_arm64_gcc.h
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
69 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/stubs/atomicops_internals_arm_gcc.h
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
70 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/stubs/atomicops_internals_generic_gcc.h
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
71 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/stubs/atomicops_internals_mips_gcc.h
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
72 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/stubs/atomicops_internals_ppc_gcc.h
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
73 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/stubs/atomicops_internals_x86_gcc.cc
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
74 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/stubs/atomicops_internals_x86_gcc.h
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
75 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/stubs/atomicops_internals_x86_msvc.cc
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
76 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/stubs/common.cc
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
77 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/stubs/int128.cc
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
78 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/stubs/io_win32.cc
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
79 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/stubs/mathlimits.cc
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
80 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/stubs/once.cc
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
81 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/stubs/status.cc
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
82 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/stubs/statusor.cc
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
83 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/stubs/stringpiece.cc
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
84 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/stubs/stringprintf.cc
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
85 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/stubs/structurally_valid.cc
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
86 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/stubs/strutil.cc
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
87 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/stubs/substitute.cc
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
88 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/stubs/time.cc
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
89 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/stubs/bytestream.cc
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
90 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/text_format.cc
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
91 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/timestamp.pb.cc
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
92 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/type.pb.cc
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
93 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/unknown_field_set.cc
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
94 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/util/delimited_message_util.cc
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
95 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/util/field_comparator.cc
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
96 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/util/field_mask_util.cc
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
97 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/util/internal/datapiece.cc
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
98 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/util/internal/default_value_objectwriter.cc
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
99 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/util/internal/error_listener.cc
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
100 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/util/internal/field_mask_utility.cc
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
101 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/util/internal/json_escaping.cc
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
102 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/util/internal/json_objectwriter.cc
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
103 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/util/internal/json_stream_parser.cc
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
104 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/util/internal/object_writer.cc
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
105 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/util/internal/proto_writer.cc
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
106 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/util/internal/protostream_objectsource.cc
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
107 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/util/internal/protostream_objectwriter.cc
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
108 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/util/internal/type_info.cc
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
109 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/util/internal/utility.cc
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
110 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/util/json_util.cc
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
111 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/util/message_differencer.cc
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
112 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/util/time_util.cc
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
113 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/util/type_resolver_util.cc
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
114 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/wire_format.cc
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
115 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/wire_format_lite.cc
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
116 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/wrappers.pb.cc
8d19e53cf23e compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
117 )
5187
9466c95f70c8 integrating Protobuf library into Orthanc server
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 5186
diff changeset
118
9466c95f70c8 integrating Protobuf library into Orthanc server
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 5186
diff changeset
119 if (NOT CMAKE_SYSTEM_NAME STREQUAL "Windows")
9466c95f70c8 integrating Protobuf library into Orthanc server
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 5186
diff changeset
120 set_property(
9466c95f70c8 integrating Protobuf library into Orthanc server
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 5186
diff changeset
121 SOURCE ${PROTOBUF_LIBRARY_SOURCES}
9466c95f70c8 integrating Protobuf library into Orthanc server
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 5186
diff changeset
122 PROPERTY COMPILE_DEFINITIONS "HAVE_PTHREAD=1"
9466c95f70c8 integrating Protobuf library into Orthanc server
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 5186
diff changeset
123 )
9466c95f70c8 integrating Protobuf library into Orthanc server
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 5186
diff changeset
124 endif()