OLD | NEW |
1 set(libprotoc_files | 1 set(libprotoc_files |
2 ${protobuf_source_dir}/src/google/protobuf/compiler/code_generator.cc | 2 ${protobuf_source_dir}/src/google/protobuf/compiler/code_generator.cc |
3 ${protobuf_source_dir}/src/google/protobuf/compiler/command_line_interface.cc | 3 ${protobuf_source_dir}/src/google/protobuf/compiler/command_line_interface.cc |
4 ${protobuf_source_dir}/src/google/protobuf/compiler/cpp/cpp_enum.cc | 4 ${protobuf_source_dir}/src/google/protobuf/compiler/cpp/cpp_enum.cc |
5 ${protobuf_source_dir}/src/google/protobuf/compiler/cpp/cpp_enum_field.cc | 5 ${protobuf_source_dir}/src/google/protobuf/compiler/cpp/cpp_enum_field.cc |
6 ${protobuf_source_dir}/src/google/protobuf/compiler/cpp/cpp_extension.cc | 6 ${protobuf_source_dir}/src/google/protobuf/compiler/cpp/cpp_extension.cc |
7 ${protobuf_source_dir}/src/google/protobuf/compiler/cpp/cpp_field.cc | 7 ${protobuf_source_dir}/src/google/protobuf/compiler/cpp/cpp_field.cc |
8 ${protobuf_source_dir}/src/google/protobuf/compiler/cpp/cpp_file.cc | 8 ${protobuf_source_dir}/src/google/protobuf/compiler/cpp/cpp_file.cc |
9 ${protobuf_source_dir}/src/google/protobuf/compiler/cpp/cpp_generator.cc | 9 ${protobuf_source_dir}/src/google/protobuf/compiler/cpp/cpp_generator.cc |
10 ${protobuf_source_dir}/src/google/protobuf/compiler/cpp/cpp_helpers.cc | 10 ${protobuf_source_dir}/src/google/protobuf/compiler/cpp/cpp_helpers.cc |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 ${protobuf_source_dir}/src/google/protobuf/compiler/objectivec/objectivec_exte
nsion.cc | 77 ${protobuf_source_dir}/src/google/protobuf/compiler/objectivec/objectivec_exte
nsion.cc |
78 ${protobuf_source_dir}/src/google/protobuf/compiler/objectivec/objectivec_fiel
d.cc | 78 ${protobuf_source_dir}/src/google/protobuf/compiler/objectivec/objectivec_fiel
d.cc |
79 ${protobuf_source_dir}/src/google/protobuf/compiler/objectivec/objectivec_file
.cc | 79 ${protobuf_source_dir}/src/google/protobuf/compiler/objectivec/objectivec_file
.cc |
80 ${protobuf_source_dir}/src/google/protobuf/compiler/objectivec/objectivec_gene
rator.cc | 80 ${protobuf_source_dir}/src/google/protobuf/compiler/objectivec/objectivec_gene
rator.cc |
81 ${protobuf_source_dir}/src/google/protobuf/compiler/objectivec/objectivec_help
ers.cc | 81 ${protobuf_source_dir}/src/google/protobuf/compiler/objectivec/objectivec_help
ers.cc |
82 ${protobuf_source_dir}/src/google/protobuf/compiler/objectivec/objectivec_map_
field.cc | 82 ${protobuf_source_dir}/src/google/protobuf/compiler/objectivec/objectivec_map_
field.cc |
83 ${protobuf_source_dir}/src/google/protobuf/compiler/objectivec/objectivec_mess
age.cc | 83 ${protobuf_source_dir}/src/google/protobuf/compiler/objectivec/objectivec_mess
age.cc |
84 ${protobuf_source_dir}/src/google/protobuf/compiler/objectivec/objectivec_mess
age_field.cc | 84 ${protobuf_source_dir}/src/google/protobuf/compiler/objectivec/objectivec_mess
age_field.cc |
85 ${protobuf_source_dir}/src/google/protobuf/compiler/objectivec/objectivec_oneo
f.cc | 85 ${protobuf_source_dir}/src/google/protobuf/compiler/objectivec/objectivec_oneo
f.cc |
86 ${protobuf_source_dir}/src/google/protobuf/compiler/objectivec/objectivec_prim
itive_field.cc | 86 ${protobuf_source_dir}/src/google/protobuf/compiler/objectivec/objectivec_prim
itive_field.cc |
| 87 ${protobuf_source_dir}/src/google/protobuf/compiler/php/php_generator.cc |
87 ${protobuf_source_dir}/src/google/protobuf/compiler/plugin.cc | 88 ${protobuf_source_dir}/src/google/protobuf/compiler/plugin.cc |
88 ${protobuf_source_dir}/src/google/protobuf/compiler/plugin.pb.cc | 89 ${protobuf_source_dir}/src/google/protobuf/compiler/plugin.pb.cc |
89 ${protobuf_source_dir}/src/google/protobuf/compiler/python/python_generator.cc | 90 ${protobuf_source_dir}/src/google/protobuf/compiler/python/python_generator.cc |
90 ${protobuf_source_dir}/src/google/protobuf/compiler/ruby/ruby_generator.cc | 91 ${protobuf_source_dir}/src/google/protobuf/compiler/ruby/ruby_generator.cc |
91 ${protobuf_source_dir}/src/google/protobuf/compiler/subprocess.cc | 92 ${protobuf_source_dir}/src/google/protobuf/compiler/subprocess.cc |
92 ${protobuf_source_dir}/src/google/protobuf/compiler/zip_writer.cc | 93 ${protobuf_source_dir}/src/google/protobuf/compiler/zip_writer.cc |
93 ) | 94 ) |
94 | 95 |
95 add_library(libprotoc ${protobuf_SHARED_OR_STATIC} | 96 add_library(libprotoc ${protobuf_SHARED_OR_STATIC} |
96 ${libprotoc_files}) | 97 ${libprotoc_files}) |
97 target_link_libraries(libprotoc libprotobuf) | 98 target_link_libraries(libprotoc libprotobuf) |
98 if(MSVC AND protobuf_BUILD_SHARED_LIBS) | 99 if(MSVC AND protobuf_BUILD_SHARED_LIBS) |
99 target_compile_definitions(libprotoc | 100 target_compile_definitions(libprotoc |
100 PUBLIC PROTOBUF_USE_DLLS | 101 PUBLIC PROTOBUF_USE_DLLS |
101 PRIVATE LIBPROTOC_EXPORTS) | 102 PRIVATE LIBPROTOC_EXPORTS) |
102 endif() | 103 endif() |
103 set_target_properties(libprotoc PROPERTIES | 104 set_target_properties(libprotoc PROPERTIES |
104 COMPILE_DEFINITIONS LIBPROTOC_EXPORTS | 105 COMPILE_DEFINITIONS LIBPROTOC_EXPORTS |
105 OUTPUT_NAME ${LIB_PREFIX}protoc | 106 OUTPUT_NAME ${LIB_PREFIX}protoc |
106 DEBUG_POSTFIX "${protobuf_DEBUG_POSTFIX}") | 107 DEBUG_POSTFIX "${protobuf_DEBUG_POSTFIX}") |
OLD | NEW |