Ivan Shynkarenka
f80a886bc1
Cygwin build failed
7 years ago
Jozef Izso
b1fecd0dea
Include file information in all DLL and EXE outputs
7 years ago
Jozef Izso
3415201d1d
Add file information to Windows binaries
7 years ago
Corentin Le Molgat
2bd7f516e5
fix duplicate mkdir in update_file_lists.sh
...
- merge loop for .h and .proto includes
- fix shellcheck errors
7 years ago
Corentin Le Molgat
c3b152c7e0
CMake: Update CXX Standard management
7 years ago
Mizux
3ad8efc75b
Add .proto files to extract_includes.bat
...
For google/or-tools, on windows, we need to use `import "google/protobuf/wrappers.proto";` since we want "optional" int64 and in version3 POD get default value...
-> so we use "google.protobuf.Int64Value" since 0 is a valid value and different from "not set" for our use case.
7 years ago
Silver Chan
d3e8a54020
Fix problem: cmake build failed in c++11 by clang
...
CMakeLists.txt adds c++11 flags for clang
7 years ago
Feng Xiao
8f88a507ee
Improve error message when googletest is missing.
7 years ago
Feng Xiao
014e76e2cd
Update instructions about getting protobuf source.
7 years ago
Carlos O'Ryan
3c5442a95d
Include googletest as a submodule ( #3993 )
...
Add googletest as a submodule in third_party/googletest.
7 years ago
Feng Xiao
d5a0024171
Remove javanano.
7 years ago
Adam Cozzette
0c5fcdee44
Removed some unused C++ source files
7 years ago
Adam Cozzette
0400cca323
Integrated internal changes from Google
7 years ago
Feng Xiao
fd595fcc93
Revert "Move `compiler/plugin.pb.cc` to libprotobuf with the other WKT sources."
...
This reverts commit 724f0be33d
.
7 years ago
John Millikin
724f0be33d
Move `compiler/plugin.pb.cc` to libprotobuf with the other WKT sources.
...
This lets all values of `WELL_KNOWN_PROTOS` be treated the same with
regard to Bazel's protobuf blacklisting.
7 years ago
Abdul Sami
fe33c5fe9d
Added instruction for existing ZLIB configuration
...
Using two configuration flags `DZLIB_INCLUDE_DIR` and `DZLIB_LIB` we can locate an existing ZLIB on the system
7 years ago
Corentin Le Molgat
1ec9beb477
Use NEW behaviour for project VERSION variables.
...
cf https://cmake.org/cmake/help/latest/policy/CMP0048.html#policy:CMP0048
7 years ago
Corentin Le Molgat
8dd0f4e557
Even with MSVC enable zlib support as default behaviour.
7 years ago
Corentin Le Molgat
f7a05844eb
Add CMake ALIAS targets
...
We follow the findProtobuf.cmake naming convention
to ease the use of protobuf as cmake subproject
7 years ago
Corentin Le Molgat
3bc0282fb6
Add VERSION property to CMake library targets
7 years ago
Ben Boeckel
9d0a44c9de
cmake: privately add sources to targets
...
Public sources get added to dependencies of the target as well which can
cause duplicate symbols.
7 years ago
Adam Cozzette
609d752650
Ran update_file_lists.sh to update Bazel and CMake file lists
...
This should fix Bazel builds, since those were missing a new file
(implicit_weak_message.cc).
7 years ago
Adam Cozzette
92a7e778e7
Integrated internal changes from Google
7 years ago
Yangqing Jia
cba18efe18
Allow one to omit building libprotoc and protoc binaries
7 years ago
Jisi Liu
181e284b55
Fix Atomic32/AtomicWord on some platforms.
...
- Removed the redefination in the atomicword_compat.h. Now Atomic32 will
alwyas be intptr_t in 32bit platforms, the bridge is no longer needed.
- Change NaCl 64bit to use intptr_t instead of int32 for Atomic32,
otherwise AtmoicWord APIs will miss the definations.
After this change, the AtmoicWord will always be either Atomic32 or
Atmoic64 depending on the platforms.
7 years ago
Tim Ebringer
a23669c2f6
Sort MSVC warning suppressions
...
Add brief documentation describing each warning suppression.
7 years ago
Jisi Liu
1a7a7fca80
Merge from google internal
7 years ago
Boris Broenner
be13314b2a
fixes issue #3750
...
In protobuf-module.cmake: in addition to checking for release or debug
variants of protoc's location we should also check the configuration "noconfig".
7 years ago
Tim Ebringer
2a72840425
Suppress VS2017 compiler/linker warnings
...
VS2017 warns about a few additional things, for example, files that
define no symbols (which is typically the result of a platform specific
ifdef not applying on Windows).
Suppress these warnings so the build is clean on VS2017.
7 years ago
Markus Heß
f7e209951e
protobuf_generate: create include path only for proto files
7 years ago
Markus Heß
0e069e5a2d
generate python code when calling PROTOBUF_GENERATE_PYTHON
7 years ago
Markus Heß
9829b8f511
protobuf_generate: add EXPORT_MACRO option
7 years ago
Adam Cozzette
13fd045dbb
Integrated internal changes from Google
7 years ago
Markus Heß
444aecd35a
fix protobuf_generate function
7 years ago
Jisi Liu
d77c8c5e44
remove the duplication
7 years ago
Jisi Liu
12c186f7c6
Fix makefile.am
7 years ago
Jisi Liu
e177739fa2
Fix build files
7 years ago
Jisi Liu
759245a49a
Merge from master
7 years ago
Axel Huebl
2f3cf52722
CMake: Install .pc Files
...
Adds pkg-config (`.pc`) files for CMake based installs.
7 years ago
Axel Huebl
668712c58f
CMake: Install .pc Files
...
Adds pkg-config (`.pc`) files for CMake based installs.
7 years ago
Jisi Liu
1876a27e66
Update filelist again
7 years ago
Jisi Liu
8084e03c33
remove profile
7 years ago
Jisi Liu
11b6661e66
update build file list
7 years ago
Jisi Liu
09354db143
Merge from Google internal for 3.4 release
7 years ago
Laszlo Csomor
e05e777d46
Windows: support long paths
...
Add implementations of open(2), mkdir(2), stat(2),
etc. that support long paths under Windows (paths
longer than MAX_PATH in <windows.h>, which is 260
characters).
The implementations are in a separate namespace
(google::protobuf::internal::win32), so they won't
collide with the standard implementations in
<io.h>, but after importing them with `using` they
can be drop-in replacements.
Fixes https://github.com/bazelbuild/bazel/issues/2634
Fixes https://github.com/google/protobuf/issues/2891
8 years ago
yjjnls
8f367c0b2d
replenish missed header files in install step
...
install 'generated_message_table_driven.h' and 'metadata_lite.h', they are included when compiling the files generated using protoc.exe 3.3.0
8 years ago
Walter Gray
df3f8cf6dd
fix check_and_save_build_option not correctly exporting build options
8 years ago
Walter Gray
0336770801
add protobuf_generate function, allows use of target_sources where available
8 years ago
Walter Gray
d8c5865e25
Fix policy warning CMP0054
8 years ago
Walter Gray
a183a0df61
Fix the check_and_save_build_option macro never evaluating to true
8 years ago