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>
2022-02-22 15:53:14 -08:00
Joshua Haberman
42e806fbf2
Merge branch 'master' into sync-stage-2
2022-02-08 18:36:24 -08:00
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
2022-02-07 15:50:16 -08:00
deannagarcia
fa4ba87aff
Merge branch 'master' into sync-stage
2022-02-02 15:24:33 -08:00
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
2022-02-01 15:27:56 -08:00
Deanna Garcia
ab4585a695
Sync from Piper @425656941
...
PROTOBUF_SYNC_PIPER
2022-02-01 18:24:53 +00:00
Adam Cozzette
9488e2f8eb
Update cmake file lists ( #9038 )
...
I ran ./update_file_lists.sh to update these files.
2021-10-12 10:08:05 -07:00
Joshua Haberman
e5c570bb57
Sync from Piper @395706834
...
PROTOBUF_SYNC_PIPER
2021-09-09 08:21:42 -07:00
Adam Cozzette
4eed0dab5a
Sync from Piper @392076391
...
PROTOBUF_SYNC_PIPER
2021-08-20 15:05:53 -07:00
Bo Yang
509aee4b8b
Sync from Piper @391414001
...
PROTOBUF_SYNC_PIPER
2021-08-17 17:26:34 -07:00
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.
2021-06-28 16:07:28 -07:00
Jorge López Fueyo
1ae531d73b
Disabled version.rc for clang-cl ( #8139 )
2021-06-04 11:13:56 -07:00
Joshua Haberman
45bb1d2feb
Added new file to build files.
2021-05-24 15:33:54 -07:00
Joshua Haberman
9521803d40
Sync from Piper @375548932
...
PROTOBUF_SYNC_PIPER
2021-05-24 13:49:39 -07:00
RPG3D
ce66f6047d
Update libprotobuf.cmake
2020-10-13 15:15:08 -07:00
RPG3D
6aaa40f2a9
Update libprotobuf.cmake
...
link log library on Android
2020-10-13 15:15:08 -07:00
Rafi Kamal
58d4420e2d
Down Integrate Internal Changes
2019-11-12 13:38:58 -08:00
boscosiu
55ed1d427c
link libatomic on systems without adequate builtin atomics
2019-07-03 15:32:29 -07:00
Hao Nguyen
1d4e959374
Down integrate to GitHub
2019-05-03 14:33:43 -07:00
Aaron Bray
424308216a
Add strtod to libprotobuf-lite
2018-12-20 14:13:57 -05:00
Ivan Shynkarenka
291d9a0ab0
Fix issue with version.rc
2018-05-15 23:19:58 +03:00
Jozef Izso
b1fecd0dea
Include file information in all DLL and EXE outputs
2018-04-28 00:12:38 +02:00
Feng Xiao
fd595fcc93
Revert "Move compiler/plugin.pb.cc
to libprotobuf with the other WKT sources."
...
This reverts commit 724f0be33d
.
2018-03-01 16:36:05 -08:00
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.
2018-02-24 11:34:40 -08:00
Corentin Le Molgat
f7a05844eb
Add CMake ALIAS targets
...
We follow the findProtobuf.cmake naming convention
to ease the use of protobuf as cmake subproject
2018-02-01 20:31:36 +01:00
Corentin Le Molgat
3bc0282fb6
Add VERSION property to CMake library targets
2018-02-01 20:31:36 +01:00
Bo Yang
6ec0b7e4d1
Merge 3.3.x into master
2017-07-18 11:06:16 -07:00
Dennis Cappendijk
4eb02fe31e
Add headers as part of cmake project
...
tested only on windows with visual studio 2015 as generator
2017-05-29 17:34:08 +02:00
Feng Xiao
8859c07a35
Add missing files to build files.
2017-05-04 15:11:11 -07:00
Byron Yi
acaa9407e3
add delimited_message_util.cc to libprotobuf.cmake
2017-03-16 20:52:58 +08:00
Konstantin Podsvirov
38c5f2f3e6
CMake: Link to ZLIB only if protobuf_WITH_ZLIB enabled
2016-07-28 01:28:49 +03:00
Feng Xiao
e841bac4fc
Down-integrate from internal code base.
2015-12-11 17:10:28 -08:00
Konstantin Podsvirov
c3aa4c2675
Improved SHARED build from CMake project
2015-10-15 02:56:48 +03:00
Konstantin Podsvirov
f397ede7c6
Add CMake option protobuf_DEBUG_POSTFIX
2015-09-17 13:00:12 +03:00
Jisi Liu
b90f9f8073
Update cmake and BUILD files.
...
Change-Id: I17e16fdae6e4d2fb74d178fa5564a609ed58af1d
2015-08-25 17:06:33 -07:00
Jisi Liu
c3bc155ace
Merge branch 'master' of github.com:google/protobuf
...
Change-Id: If3fb07754a734bae610d95124528e073515ac525
2015-08-21 11:44:49 -07:00
Jisi Liu
b0f661181d
Down-integrate from internal branch.
...
Change-Id: Ieb7a2c2fbf35bc2a8fa65b915a5ecb68c83863e4
2015-08-21 11:18:45 -07:00
Tom Hughes
6d72d12575
Set cmake include directories on library targets.
...
cmake targets that depend on these libraries will automatically have
these include directories.
2015-07-28 16:18:35 -07:00
Feng Xiao
818c5eee08
Fix broken builds.
2015-06-17 11:19:46 -07:00
Feng Xiao
e96ff30120
Down-integrate from internal code base.
...
[ci skip]
Change-Id: I9391c09640e0b0b2b21c45a97a1fc91814d95c5d
2015-06-15 18:24:01 -07:00
Feng Xiao
4333edb340
Add cmake support.
2015-05-31 02:28:34 -07:00