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
Paul Yang
e0e54661f7
Check in php implementation. ( #2052 )
...
This pull request includes two implementation: C extension and PHP
package. Both implementations support encode/decode of singular,
repeated and map fields.
8 years ago
Wei-Yin Chen (陳威尹)
a7eaf36967
Rename UNICODE to protobuf_UNICODE
8 years ago
Wei-Yin Chen (陳威尹)
588a803d58
Support Unicode build on Windows
8 years ago
Konstantin Podsvirov
eefd1fdd48
CMake: Auto find ZLIB from package config if nedded
8 years ago
Konstantin Podsvirov
7d275ec168
CMake: remove repeated_field_reflection.h from extract list
8 years ago
Konstantin Podsvirov
33d2b2a04f
CMake: Bugfix for protobuf_MODULE_COMPATIBLE
...
Removed excess endif()
8 years ago
Konstantin Podsvirov
38c5f2f3e6
CMake: Link to ZLIB only if protobuf_WITH_ZLIB enabled
8 years ago
Adnan
154e278a2f
fixed cmake config files install path
...
Ruby: generated foo.proto -> foo_pb.rb instead of foo.rb.
This brings us more into line with other langauges, and makes it more
obvious when we are requiring protobuf generated code.
Add a script to build protoc zip packages.
[ci skip]
Change-Id: Ia0e0bf3bb6bd24633dc8f294318bb20ac837f8b9
Ruby: translate package names from snake_case -> PascalCase.
Added unit test for PascalCasing package names in Ruby.
Added new file to ruby_EXTRA_DIST.
8 years ago
Feng Xiao
9086d96439
Integrate from internal code base.
8 years ago
Walter Gray
5520447a78
Fix a bad variable dereference causing <package>_FIND_VERSION_PRERELEASE to be ignored.
8 years ago
Otto Kekäläinen
3808d091f8
Fix spelling in strings and comments
9 years ago
Walter Gray
4150a91c14
make protobuf_MSVC_STATIC_RUNTIME a dependent option to reflect it's use.
9 years ago
Walter Gray
78b3498bf4
Save the relevant options used to create a package, allow users to reject packages based on them.
9 years ago
Walter Gray
5ebcfc1cfd
Fix prerelease version matching to be more consistent with the find_package arguments.
9 years ago
Walter Gray
cadfbc8e2f
Removed handling for ALIASED targets since they are unused.
9 years ago
Walter Gray
23fef56e6d
Replace handwritten protobuf-targets with exported version.
9 years ago
Walter Gray
09f6a5c1d2
Use ExternalProject_Add to build the examples in a stand-alone fashion.
9 years ago
Konstantin Podsvirov
71556295ff
CMake project updates
...
A series of improvements:
- Improved Protobuf module compatibility (disabled by default);
- Hide advanced settings;
- Added build tree configuration;
- Added build of examples.
9 years ago
Bo Yang
20b532544f
Integrate interanl changes
9 years ago
Walter Gray
0420eab173
For prerelease versions, require protobuf_FIND_VERSION to be set.
9 years ago
Walter Gray
f1091ab1aa
Include the prerelease version in the protobuf_VERSION
9 years ago
Walter Gray
457a2975f4
Remove __PROTOBUF_PACKAGE_PREFIX
9 years ago
Walter Gray
d13b3d0d96
remove useless cleanup - config.cmake files are executed in their own context.
9 years ago
Walter Gray
c57c6eabf7
Bump to the *real* minimum required version. Setting CMP0022 breaks CMake versions < 2.8.12
9 years ago
Walter Gray
04265e40da
Remove if(TRUE)
9 years ago
Jeff Merver
733ef986e5
added missing closing bracket for _cmakedir_desc in cmake/install.cmake line 88
9 years ago
Walter Gray
28f35b4f16
add protobuf:: namespace to installed targets
9 years ago
Walter Gray
02a28a8fea
Update protobuf-config-version.cmake.in to correctly set the required variables (PACKAGE_VERSION_EXACT, PACKAGE_VERSION_COMPATIBLE, PACKAGE_VERSION_UNSUITABLE)
9 years ago
Walter Gray
7d79458fc5
Fix the cmake configuration file install path to be more standards compliant (See the description of cmake's config search behavior on https://cmake.org/cmake/help/v3.4/command/find_package.html )
9 years ago