Mercurial > hg > orthanc
annotate OrthancFramework/Resources/ProtocolBuffers/CMakeLists.txt @ 5188:4c6f0211caaf db-protobuf
compiling the protobuf compiler
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Sun, 26 Mar 2023 21:09:13 +0200 |
parents | 9466c95f70c8 |
children | af66a8e93ccf |
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 cmake_minimum_required(VERSION 2.8.3) |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
23 |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
24 project(ProtocolBuffers) |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
25 |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
26 set(ALLOW_DOWNLOADS ON) |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
27 |
5187
9466c95f70c8
integrating Protobuf library into Orthanc server
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
5186
diff
changeset
|
28 include(${CMAKE_SOURCE_DIR}/../CMake/DownloadPackage.cmake) |
5186
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
29 include(${CMAKE_SOURCE_DIR}/../CMake/Compiler.cmake) |
5187
9466c95f70c8
integrating Protobuf library into Orthanc server
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
5186
diff
changeset
|
30 |
5186
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
31 include(${CMAKE_SOURCE_DIR}/ProtobufLibrary.cmake) |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
32 |
5187
9466c95f70c8
integrating Protobuf library into Orthanc server
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
5186
diff
changeset
|
33 set(PROTOBUF_COMPILER_SOURCES |
5186
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
34 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/code_generator.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
35 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/command_line_interface.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
36 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/cpp/cpp_enum.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
37 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/cpp/cpp_enum_field.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
38 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/cpp/cpp_extension.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
39 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/cpp/cpp_field.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
40 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/cpp/cpp_file.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
41 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/cpp/cpp_generator.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
42 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/cpp/cpp_helpers.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
43 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/cpp/cpp_map_field.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
44 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/cpp/cpp_message.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
45 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/cpp/cpp_message_field.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
46 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/cpp/cpp_padding_optimizer.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
47 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/cpp/cpp_primitive_field.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
48 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/cpp/cpp_service.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
49 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/cpp/cpp_string_field.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
50 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/csharp/csharp_doc_comment.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
51 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/csharp/csharp_enum.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
52 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/csharp/csharp_enum_field.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
53 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/csharp/csharp_field_base.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
54 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/csharp/csharp_generator.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
55 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/csharp/csharp_helpers.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
56 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/csharp/csharp_map_field.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
57 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/csharp/csharp_message.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
58 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/csharp/csharp_message_field.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
59 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/csharp/csharp_primitive_field.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
60 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/csharp/csharp_reflection_class.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
61 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/csharp/csharp_repeated_enum_field.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
62 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/csharp/csharp_repeated_message_field.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
63 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/csharp/csharp_repeated_primitive_field.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
64 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/csharp/csharp_source_generator_base.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
65 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/csharp/csharp_wrapper_field.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
66 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/importer.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
67 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/java/java_context.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
68 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/java/java_doc_comment.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
69 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/java/java_enum.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
70 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/java/java_enum_field.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
71 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/java/java_enum_field_lite.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
72 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/java/java_enum_lite.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
73 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/java/java_extension.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
74 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/java/java_extension_lite.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
75 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/java/java_field.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
76 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/java/java_file.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
77 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/java/java_generator.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
78 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/java/java_generator_factory.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
79 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/java/java_helpers.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
80 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/java/java_lazy_message_field.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
81 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/java/java_lazy_message_field_lite.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
82 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/java/java_map_field.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
83 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/java/java_map_field_lite.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
84 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/java/java_message.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
85 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/java/java_message_builder.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
86 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/java/java_message_builder_lite.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
87 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/java/java_message_field.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
88 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/java/java_message_field_lite.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
89 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/java/java_message_lite.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
90 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/java/java_name_resolver.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
91 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/java/java_primitive_field.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
92 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/java/java_primitive_field_lite.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
93 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/java/java_service.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
94 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/java/java_shared_code_generator.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
95 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/java/java_string_field.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
96 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/java/java_string_field_lite.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
97 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/javanano/javanano_enum.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
98 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/javanano/javanano_enum_field.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
99 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/javanano/javanano_extension.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
100 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/javanano/javanano_field.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
101 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/javanano/javanano_file.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
102 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/javanano/javanano_generator.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
103 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/javanano/javanano_helpers.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
104 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/javanano/javanano_map_field.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
105 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/javanano/javanano_message.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
106 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/javanano/javanano_message_field.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
107 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/javanano/javanano_primitive_field.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
108 #${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/js/embed.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
109 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/js/js_generator.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
110 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/js/well_known_types_embed.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
111 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/main.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
112 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/objectivec/objectivec_enum.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
113 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/objectivec/objectivec_enum_field.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
114 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/objectivec/objectivec_extension.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
115 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/objectivec/objectivec_field.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
116 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/objectivec/objectivec_file.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
117 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/objectivec/objectivec_generator.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
118 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/objectivec/objectivec_helpers.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
119 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/objectivec/objectivec_map_field.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
120 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/objectivec/objectivec_message.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
121 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/objectivec/objectivec_message_field.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
122 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/objectivec/objectivec_oneof.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
123 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/objectivec/objectivec_primitive_field.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
124 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/parser.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
125 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/php/php_generator.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
126 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/plugin.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
127 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/plugin.pb.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
128 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/python/python_generator.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
129 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/ruby/ruby_generator.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
130 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/subprocess.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
131 ${PROTOBUF_SOURCE_DIR}/src/google/protobuf/compiler/zip_writer.cc |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
132 ) |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
133 |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
134 if (NOT CMAKE_SYSTEM_NAME STREQUAL "Windows") |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
135 set_property( |
5187
9466c95f70c8
integrating Protobuf library into Orthanc server
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
5186
diff
changeset
|
136 SOURCE ${PROTOBUF_COMPILER_SOURCES} |
5186
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
137 PROPERTY COMPILE_DEFINITIONS "HAVE_PTHREAD=1" |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
138 ) |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
139 endif() |
5187
9466c95f70c8
integrating Protobuf library into Orthanc server
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
5186
diff
changeset
|
140 |
9466c95f70c8
integrating Protobuf library into Orthanc server
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
5186
diff
changeset
|
141 add_executable(protoc |
9466c95f70c8
integrating Protobuf library into Orthanc server
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
5186
diff
changeset
|
142 ${PROTOBUF_LIBRARY_SOURCES} |
9466c95f70c8
integrating Protobuf library into Orthanc server
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
5186
diff
changeset
|
143 ${PROTOBUF_COMPILER_SOURCES} |
9466c95f70c8
integrating Protobuf library into Orthanc server
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
5186
diff
changeset
|
144 ) |