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
8 years ago
Jisi Liu
8084e03c33
remove profile
8 years ago
Jisi Liu
11b6661e66
update build file list
8 years ago
Jisi Liu
09354db143
Merge from Google internal for 3.4 release
8 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
Walter Gray
faa53989cb
fix check_and_save_build_option not correctly exporting build options
8 years ago
Walter Gray
ae85cb8ef3
Fix find module not working when no version number was given
8 years ago
Dennis Cappendijk
4eb02fe31e
Add headers as part of cmake project
...
tested only on windows with visual studio 2015 as generator
8 years ago
Feng Xiao
8859c07a35
Add missing files to build files.
8 years ago
Feng Xiao
32d7830e4b
Fix C++ build for down-integration.
8 years ago
Feng Xiao
d36c0c538a
Down-integrate from google3.
8 years ago
Byron Yi
acaa9407e3
add delimited_message_util.cc to libprotobuf.cmake
8 years ago
Byron Yi
cb3e84b78e
migrate delimited messages functions to util package
8 years ago
Konstantin Podsvirov
97cbc42621
Fix libprotoc.cmake to generate well_known_types_embed.cc
...
Unfortunate typo. Just one extra ',' symbol, has led to the hidden implicit behavior.
Now everything will be fine.
8 years ago
Feng Xiao
c94555f955
Double-quote file paths in extract_includes.bat.in
...
This allows the file path to contain spaces which is very common on
windows.
8 years ago
Feng Xiao
1ece7c09af
Add missing thread dependency in cmake.
8 years ago
Jie Luo
af13bff3c7
Detect if Descriptor.cs changes for csharp
8 years ago
Wojciech Mamrak
37bd5d525b
Disable MSVC warning C4309
...
> warning C4309: static_cast': truncation of constant value
introduced in commit 9db5b11c9c
8 years ago
Jonathan Hseu
ef927cc428
Switch to gcc atomic intrinsics for macOS and delete the file that uses ( #2699 )
...
the deprecated atomics.
8 years ago
Adam Cozzette
98d89d4277
Fixed "make check" for cmake build
...
The check target did not depend on the test_plugin binary, so this would
cause "make check" to fail at times because of the absence of
test_plugin. This change adds a dependency on test_plugin so that it
will always get built before the tests are executed.
8 years ago
Adam Cozzette
1b3a0c16e6
Auto-generate well_known_types_embed.cc
...
Until now this file was just checked into the repo, but actually it
should be generated from any.js, struct.js, and timestamp.js. This
change updates the build system to make this happen. To make it work I
also had to remove some C++11 features from embed.cc.
8 years ago
Jisi Liu
f92b455aa6
Add missing files.
8 years ago
Adam Cozzette
1673389ef1
Updated libprotoc.cmake
8 years ago
Sergio Campama
e75cf40e8f
Fixing references to the removed atomicops_internals_pnacl.h file.
8 years ago
Jisi Liu
9d4657a9e2
update files to include php generators
8 years ago
Adam Cozzette
7fecfdbaa8
Added new has_bits.h file to cmake/extract_includes.bat.in ( #2152 )
...
This is necessary so that the CMake build knows to include this header
file in the installation include/ directory.
8 years ago
Feng Xiao
431cee60e6
Remove inexist files from build.
8 years ago
Jisi Liu
d947308aa1
update files to include php generators ( #2165 )
8 years ago
Jisi Liu
39a2a25f05
update files to include php generators ( #2165 )
8 years ago
Jisi Liu
923314cc88
update files to include php generators
8 years ago
Adam Cozzette
050c014ac6
Added new has_bits.h file to cmake/extract_includes.bat.in ( #2152 )
...
This is necessary so that the CMake build knows to include this header
file in the installation include/ directory.
8 years ago