Robert Edmonds
a0a0131c89
Bump version to 1.4.1
2022-07-10 21:33:59 -04:00
Robert Edmonds
a124b38608
Bump version to 1.4.0
2021-05-18 20:28:48 -04:00
Robert Edmonds
5ae0762b85
Merge branch 'next' into options
2021-04-06 19:57:36 -04:00
Ilya Lipnitskiy
0e060260f0
protoc-c: add custom options support
2021-03-21 20:28:33 -07:00
Ilya Lipnitskiy
e79f7d3ac6
cmake: use static build by default, fix MSVC build
...
Matches protobuf default behavior:
https://github.com/protocolbuffers/protobuf/tree/master/cmake#dlls-vs-static-linking
Bump min cmake version to use Protobuf_USE_STATIC_LIBS:
https://cmake.org/cmake/help/latest/module/FindProtobuf.html
2021-03-15 18:01:47 -07:00
Robert Edmonds
32f0a781c7
Merge pull request #456 from ppietrasa/master
...
Install debug symbols alongside the protobuf-c.lib
2021-02-18 21:21:46 -05:00
Piotr Pietraszkiewicz
f53a8c98ad
Install debug symbols alongside the protobuf-c.lib
...
A user of the protobuf-c library is confronted with MSVC warnings about missing
PDB if the library happens to be built/configured using the CMAKE_BUILD_TYPE
"Debug" or "RelWithDebInfo". This commit deals away with the warning by
installing the "protobuf-c.pdb" alongside the lib. The .pdb is installed only
if it exists. Configuring "Release" or building under Linux won't produce and
won't install the PDB.
2021-02-08 13:58:52 +01:00
Ilya Lipnitskiy
2102d3a2c5
CMakeLists.txt: Don't include Dart if no tests
...
Also use BUILD_TESTS instead of CMAKE_BUILD_TYPE in other places in the
file.
2020-05-13 13:38:34 -07:00
James Benton
e01b30d4fe
Add BUILD_TESTS option to CMake build.
2020-05-12 10:21:30 -07:00
Ilya Lipnitskiy
12973e7f3f
CMakeLists.txt: Add option to disable protoc-gen-c
2020-05-09 15:08:28 -07:00
Ilya Lipnitskiy
3d3b5fe220
CMakeLists.txt: Enforce C++11 for old compilers
2020-05-09 14:29:06 -07:00
Ilya Lipnitskiy
ce75229b6a
CMakeLists.txt: Fix protoc-c crashes on Linux
...
-lpthread was missing from the linker command line. See
https://github.com/protocolbuffers/protobuf/issues/5107 for more
details.
.travis.yml: Run CMake debug build for verification
2020-05-09 13:27:33 -07:00
Ilya Lipnitskiy
db6c49cc43
CMakeLists.txt: Add pkg-config logic ( Fixes #339 )
2020-05-09 13:27:23 -07:00
Robert Edmonds
d0531beaad
Bump version to 1.3.3
2019-12-04 16:08:05 -05:00
Robert Edmonds
e7c18ecda7
Merge pull request #350 from msshapira/patch-2
...
fix suport for MSVC static build
2019-12-04 13:35:36 -05:00
Markus Engel
687f27726c
Fixed endianness check for cmake
...
Signed-off-by: Markus Engel <engel@sero-systems.de>
2019-10-18 21:23:55 -04:00
Robert Edmonds
62ecf2b467
Bump version to 1.3.2
2019-06-24 00:37:47 -04:00
msshapira
4d9d0614d4
fix suport for MSVC static build
2018-11-12 17:43:59 +02:00
Robert Edmonds
53bf6c0b7c
Bump version to 1.3.1
2018-08-13 23:18:25 -04:00
Robert Edmonds
25cb6e2bdf
Bump version to 1.3.0
2017-07-29 19:30:36 -04:00
alex85k
58a4514164
fixing tests building in CMake
2017-04-10 18:42:59 +05:00
AlexMilich
0656a9ac35
Static build for Windows MSVC
2016-11-27 12:39:37 +02:00
Adnan
03205837fe
fixed cmake build if built as part of an external project
2016-08-10 16:26:31 -07:00
Paolo Borelli
af2120aa55
Turn the compiler into a protoc plugin
...
Using the old "protoc-c" command directly is still supported
through a symlink.
2016-02-17 10:58:43 +01:00
Robert Edmonds
4560136675
Bump version to 1.2.1
2016-02-02 15:03:53 -05:00
Robert Edmonds
25d5e51db7
Bump version to 1.2.0
2016-01-29 19:52:28 -05:00
Robert Edmonds
9983a190a0
Bump version to 1.1.1
2015-03-14 17:00:57 -04:00
Robert Edmonds
287c916f9d
bump version to 1.1.0
2015-01-05 15:54:02 -05:00
Robert Edmonds
58f764ecfe
bump version to 1.0.2
2014-09-08 17:07:47 -04:00
Robert Edmonds
b0e0430d57
build-cmake/: add a new CMakeLists.txt file as a fallback
...
For certain platforms where autotools is not the preferred build system,
provide a fallback cmake file that can compile protoc-c and a static
library of libprotobuf-c.
Based on the file from alex85k's protobuf-c repository.
(Issue #168.)
2014-09-08 17:05:05 -04:00