David L. Jones
b012ef28b9
Regenerate cmake file lists.
3 years ago
Adam Cozzette
1ddad63dd9
Sync from Piper @acozzette/proto_github_202203101748
...
PROTOBUF_SYNC_PIPER
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
Adam Cozzette
1c51f9fb39
Undo unintentional file list changes
3 years ago
Adam Cozzette
76398dab31
Sync from Piper @431959314
...
PROTOBUF_SYNC_PIPER
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
appledragon
5a0887fc65
for ios shared library export api visibility ( #9160 )
...
* for ios shared library export api visibility
* for shared library export api visibility
* for shared library export api visibility
3 years ago
Joel Johnson
a9cf69a0ed
Use matching soname when building with CMake as Makefile ( #9178 )
...
This updates the CMake support to additionally symlink the soversion value
to the generated shared library when so generated. This aligns the
generated soversion with that traditionally used by the Makefile build
workflow and provides cross-compatibility irrespective of build approach
used.
The primary version of the non-symlink library retains the actual
(non-SO) project version for clarity and compatibility with
installations built using prior versions of CMake support. An example of
the net resulting symlink structures is shown below, where the most
important aspect is that the symlink matching the embedded SONAME is
present (libprotobuf.so.30 in the example case).
Makefile:
libprotobuf.so -> libprotobuf.so.30.0.0
libprotobuf.so.30 -> libprotobuf.so.30.0.0
libprotobuf.so.30.0.0
CMake:
libprotobuf.so -> libprotobuf.so.30
libprotobuf.so.30 -> libprotobuf.so.3.19.0.0
libprotobuf.so.3.19.0.0
Fixes : #8635
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 )
3 years ago
Joshua Haberman
e5c570bb57
Sync from Piper @395706834
...
PROTOBUF_SYNC_PIPER
3 years ago
Bo Yang
509aee4b8b
Sync from Piper @391414001
...
PROTOBUF_SYNC_PIPER
3 years ago
Adam Cozzette
336ed1820a
Move field_access_listener from libprotobuf-lite to libprotobuf ( #8775 )
...
This should fix #8768 . The field access listener code can't build
successfully as part of protobuf-lite because it relies on descriptors.
3 years ago
Jorge López Fueyo
1ae531d73b
Disabled version.rc for clang-cl ( #8139 )
4 years ago
Joshua Haberman
45bb1d2feb
Added new file to build files.
4 years ago
Joshua Haberman
9521803d40
Sync from Piper @375548932
...
PROTOBUF_SYNC_PIPER
4 years ago
RPG3D
ce66f6047d
Update libprotobuf.cmake
4 years ago
RPG3D
6aaa40f2a9
Update libprotobuf.cmake
...
link log library on Android
4 years ago
Joshua Haberman
a633ad452d
Ran update_file_lists.sh to pick up arenastring.cc.
4 years ago
listonjesse
2ae7cf0e03
Auxillary -> Auxiliary
5 years ago
Rafi Kamal
58d4420e2d
Down Integrate Internal Changes
5 years ago
boscosiu
55ed1d427c
link libatomic on systems without adequate builtin atomics
5 years ago
Hao Nguyen
1d4e959374
Down integrate to GitHub
6 years ago
Aaron Bray
424308216a
Add strtod to libprotobuf-lite
6 years ago
Jozef Izso
d2c35ce4cb
Backport the PR #4579 to 3.6.x branch
...
Implements #3380
6 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
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
Jisi Liu
759245a49a
Merge from master
7 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
Byron Yi
acaa9407e3
add delimited_message_util.cc to libprotobuf.cmake
8 years ago
Konstantin Podsvirov
38c5f2f3e6
CMake: Link to ZLIB only if protobuf_WITH_ZLIB enabled
8 years ago
Feng Xiao
e841bac4fc
Down-integrate from internal code base.
9 years ago
Konstantin Podsvirov
c3aa4c2675
Improved SHARED build from CMake project
9 years ago
Konstantin Podsvirov
f397ede7c6
Add CMake option protobuf_DEBUG_POSTFIX
9 years ago
Bo Yang
ff7bdad231
Fix bugs on windows
9 years ago
Jisi Liu
b90f9f8073
Update cmake and BUILD files.
...
Change-Id: I17e16fdae6e4d2fb74d178fa5564a609ed58af1d
9 years ago
Jisi Liu
b0f661181d
Down-integrate from internal branch.
...
Change-Id: Ieb7a2c2fbf35bc2a8fa65b915a5ecb68c83863e4
9 years ago
Tom Hughes
6d72d12575
Set cmake include directories on library targets.
...
cmake targets that depend on these libraries will automatically have
these include directories.
9 years ago
Feng Xiao
818c5eee08
Fix broken builds.
10 years ago
Feng Xiao
e96ff30120
Down-integrate from internal code base.
...
[ci skip]
Change-Id: I9391c09640e0b0b2b21c45a97a1fc91814d95c5d
10 years ago
Feng Xiao
4333edb340
Add cmake support.
10 years ago