David L. Jones
b012ef28b9
Regenerate cmake file lists.
3 years ago
Adam Cozzette
b20209f321
Sync from Piper @acozzette/proto_github_202203101748
...
PROTOBUF_SYNC_PIPER
3 years ago
Arfrever Frehtes Taifersar Arahesis
426866285b
cmake: Replace protobuf_source_dir variable with protobuf_SOURCE_DIR variable ( #9596 )
...
protobuf_source_dir variable is no longer needed and has the same value
as protobuf_SOURCE_DIR variable, which is instance of CMake-standard
<PROJECT-NAME>_SOURCE_DIR variable:
https://cmake.org/cmake/help/latest/variable/PROJECT-NAME_SOURCE_DIR.html
3 years ago
Arfrever
1cec803182
CMake fixes ( #9595 )
...
* Support older versions of CMake.
VERSION_GREATER_EQUAL is supported by CMake >=3.7:
https://cmake.org/cmake/help/latest/command/if.html#version-greater-equal
target_link_options() is supported by CMake >=3.13:
https://cmake.org/cmake/help/latest/command/target_link_options.html
* Use PROTOBUF_USE_DLLS and LIBPROTOC_EXPORTS for libprotoc.so shared library
Similar change for libprotobuf.so and libprotobuf-lite.so was made
in commit 5a0887fc65
.
* Make value of PROTOC_EXPORT dependent on LIBPROTOC_EXPORTS instead of LIBPROTOBUF_EXPORTS
This was probably intention, and LIBPROTOC_EXPORTS is also used above
in _MSC_VER branch.
3 years ago
Adam Cozzette
88a18db91e
Update protobuf version
3 years ago
Arfrever
1d13b60904
cmake: Use linker version scripts ( #9545 )
...
Autotools build system already uses linker version scripts since
commit 13d165de9e
.
Fixes : #6113
3 years ago
Arfrever
d0c06bcd93
cmake: Set correct sonames for libprotobuf-lite.so and libprotoc.so ( #9529 )
...
Soname was set for libprotobuf.so in commit a9cf69a0ed
,
but similar changes for libprotobuf-lite.so and libprotoc.so were missed.
Fixes : #8635
Co-authored-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@GMail.Com>
3 years ago
Adam Cozzette
9488e2f8eb
Update cmake file lists ( #9038 )
...
I ran ./update_file_lists.sh to update these files.
3 years ago
David L. Jones
96d983a02e
Tweak update_file_lists.sh to handle changes to Makefile.am. ( #8965 )
4 years ago
Joshua Haberman
e5c570bb57
Sync from Piper @395706834
...
PROTOBUF_SYNC_PIPER
4 years ago
Jorge López Fueyo
1ae531d73b
Disabled version.rc for clang-cl ( #8139 )
4 years ago
Joshua Haberman
ce560630bf
Sync from Piper @368734211
...
PROTOBUF_SYNC_PIPER
4 years ago
Deanna Garcia
438d777e05
Adding file names to cmake files
4 years ago
deannagarcia
9fee757e46
Update libprotoc.cmake
4 years ago
listonjesse
2ae7cf0e03
Auxillary -> Auxiliary
5 years ago
Adam Cozzette
81f6aa404c
Ran ./update_file_lists.sh to update CMake configuration
6 years ago
Adam Cozzette
0894e07536
Integrated internal changes from Google
6 years ago
Jozef Izso
d2c35ce4cb
Backport the PR #4579 to 3.6.x branch
...
Implements #3380
7 years ago
Feng Xiao
6bbe197e9c
Down-integrate from google3.
7 years ago
Feng Xiao
b1c5503022
Delete unused files. ( #4942 )
...
* Delete unused files.
7 years ago
Feng Xiao
b3e4e3abe0
Remove js_embed binary. ( #4709 )
...
* Remove js_embed binary.
7 years ago
Feng Xiao
143851ed25
Remove js_embed binary. ( #4709 )
...
* Remove js_embed binary.
7 years ago
Ivan Shynkarenka
291d9a0ab0
Fix issue with version.rc
7 years ago
Jozef Izso
b1fecd0dea
Include file information in all DLL and EXE outputs
7 years ago
Feng Xiao
d5a0024171
Remove javanano.
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
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
Adam Cozzette
13fd045dbb
Integrated internal changes from Google
8 years ago
Jisi Liu
e177739fa2
Fix build files
8 years ago
Jisi Liu
759245a49a
Merge from master
8 years ago
Jisi Liu
8084e03c33
remove profile
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
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
d36c0c538a
Down-integrate from google3.
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
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
Adam Cozzette
1673389ef1
Updated libprotoc.cmake
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.
9 years ago
Jisi Liu
5221dcbe47
Integrate from google internal.
...
Java files are moved to un-do the hack in the prevous commit, which
moved the java files to the original position for integration.
9 years ago
Feng Xiao
e841bac4fc
Down-integrate from internal code base.
9 years ago
Jon Skeet
a6361a124a
Rename "umbrella" to "reflection" consistently.
...
This changes csharp_names.h, which will require a corresponding change in GRPC.
9 years ago
Konstantin Podsvirov
c3aa4c2675
Improved SHARED build from CMake project
10 years ago
Jon Skeet
67dd42c50d
First pass at generating XML documentation from .proto comments.
...
This could be tidied up significantly, and at some point we will want to parse the markdown and generate more appropriate XML - but this is definitely better than nothing.
Generated code changes coming in next commit.
10 years ago
Konstantin Podsvirov
f397ede7c6
Add CMake option protobuf_DEBUG_POSTFIX
10 years ago
Jisi Liu
b0f661181d
Down-integrate from internal branch.
...
Change-Id: Ieb7a2c2fbf35bc2a8fa65b915a5ecb68c83863e4
10 years ago
Jon Skeet
b2ac868493
First part of implementing wrapper types. Not ready yet!
10 years ago
Jon Skeet
0d684d3420
First pass at map support.
...
More tests required. Generated code in next commit.
10 years ago