diff options
author | Timofey <t.danshin@corp.mail.ru> | 2016-10-07 18:33:02 +0300 |
---|---|---|
committer | Timofey <t.danshin@corp.mail.ru> | 2016-11-09 14:05:34 +0300 |
commit | 1fd8fb334571a6a74d91b02b5f1265bd4c82fc64 (patch) | |
tree | 14da50d25ed008a81f3a8dcb840232a6088c8cf0 /3party | |
parent | 05bb94f61c324c584258adf2597ff1fbee4f3258 (diff) |
Added search/search_tests
search_integration_tests are to come.
Diffstat (limited to '3party')
-rw-r--r-- | 3party/protobuf/CMakeLists.txt | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/3party/protobuf/CMakeLists.txt b/3party/protobuf/CMakeLists.txt new file mode 100644 index 0000000000..25463c597b --- /dev/null +++ b/3party/protobuf/CMakeLists.txt @@ -0,0 +1,74 @@ +cmake_minimum_required(VERSION 3.2) + +project(protobuf C CXX) + +include_directories(. src ../../) + +add_compile_options( + "-Wall" + "-std=c++11" +) + +if (NOT PLATFORM_WIN) + add_definitions(-DHAVE_PTHREAD) +endif () + + +set( + SRC + config.h + src/google/protobuf/descriptor_database.h + src/google/protobuf/descriptor.h + src/google/protobuf/dynamic_message.h + src/google/protobuf/extension_set.cc + src/google/protobuf/extension_set.h + src/google/protobuf/generated_message_reflection.h + src/google/protobuf/generated_message_util.cc + src/google/protobuf/generated_message_util.h + src/google/protobuf/io/coded_stream_inl.h + src/google/protobuf/io/coded_stream.cc + src/google/protobuf/io/coded_stream.h + src/google/protobuf/io/tokenizer.h + src/google/protobuf/io/zero_copy_stream_impl_lite.cc + src/google/protobuf/io/zero_copy_stream_impl_lite.h + src/google/protobuf/io/zero_copy_stream.cc + src/google/protobuf/io/zero_copy_stream.h + src/google/protobuf/message_lite.cc + src/google/protobuf/message_lite.h + src/google/protobuf/message.h + src/google/protobuf/reflection_ops.h + src/google/protobuf/repeated_field.cc + src/google/protobuf/repeated_field.h + src/google/protobuf/stubs/common.cc + src/google/protobuf/stubs/common.h + src/google/protobuf/stubs/hash.h + src/google/protobuf/stubs/map_util.h + src/google/protobuf/stubs/once.cc + src/google/protobuf/stubs/once.h + src/google/protobuf/stubs/strutil.h + src/google/protobuf/stubs/substitute.h + src/google/protobuf/text_format.h + src/google/protobuf/unknown_field_set.h + src/google/protobuf/wire_format_lite_inl.h + src/google/protobuf/wire_format_lite.cc + src/google/protobuf/wire_format_lite.h + src/google/protobuf/wire_format.h +) + +if (PLATFORM_LINUX OR PLATFORM_ANDROID OR (PLATFORM_WIN AND NOT MSVC)) + set( + SRC + ${SRC} + src/google/protobuf/stubs/atomicops_internals_x86_gcc.cc + ) +endif() + +if (PLATFORM_WIN AND MSVC) + set( + SRC + ${SRC} + src/google/protobuf/stubs/atomicops_internals_x86_msvc.cc + ) +endif() + +add_library(protobuf ${SRC}) |