comparison OrthancFramework/Resources/ProtocolBuffers/ProtobufLibrary.cmake @ 5186:8d19e53cf23e db-protobuf

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