Jan Tattermusch
ae6fd66cef
fix zlib and openssl package mode
7 years ago
Jan Tattermusch
f567ab0d2b
fix public header path for installed grpc
7 years ago
Jan Tattermusch
9d1d0529d3
move cmake config files to /cmake
7 years ago
Jan Tattermusch
210f2a51e5
use the right protoc executable regardless of protobuf provider
7 years ago
Jan Tattermusch
1d93e22a10
fix macos build
7 years ago
Jan Tattermusch
ba2801f75c
build using c-ares own cmake
7 years ago
Jan Tattermusch
07d2092c79
vs2017 build fixes
7 years ago
Kamil Skalski
6ba7d53b63
Make CMake find_package work for preinstalled libprotobuf on Raspbian.
8 years ago
Jan Tattermusch
f691556db4
dont reuse protobuf cmake install dirs
8 years ago
Jan Tattermusch
f3219f459d
make some headers public
8 years ago
Jan Tattermusch
b70df57c49
build protobuf without zlib
8 years ago
Jan Tattermusch
74c74fb04e
workaround zlib cmake issue
8 years ago
Jan Tattermusch
807693bd89
cmake: add zlib and cares dep
8 years ago
Jan Tattermusch
6fe1d80335
explicitly use built protoc for CMake build
8 years ago
Jan Tattermusch
4d5c3102a1
fix remaining license notices
8 years ago
Alex Merry
a65f006d21
Set gRPC_INSTALL to ON by default for MSVC and OFF if a subproject
...
Now that gRPC_INSTALL is forced off if using bundled third-party
libraries, it no longer makes sense to set it OFF by default for MSVC.
However, we do want to set it OFF by default if gRPC is being built as a
subproject of another project.
8 years ago
Alex Merry
c17eb5c37e
CMake: Disable installation when using bundled third party libraries
...
If gRPC is not getting its (link-time) dependencies from the system, it
should not be attempting installation.
8 years ago
Alex Merry
b5984fa8d7
Revert "cmake: fix #8729"
...
This reverts commit c019e057c2
.
8 years ago
Alex Merry
8ced27a364
Fix finding c-ares in package mode with CMake
...
The next release of c-ares will install a CMake package (when built
using CMake), but it will be called "c-ares", not "CARES".
8 years ago
Alexander Polcyn
f5521c33f9
Revert "Merge branch 'master' into v1.3.x"
...
This reverts commit 79759fea1a
, reversing
changes made to dc36f4df6a
.
8 years ago
Mahak Mukhi
78ca0d1d57
Fix for recent cmake failure owing to gmock
8 years ago
Mehrdad Afshari
79ec0ff542
Increase portability of CMakeLists.txt
...
- Update CMakeLists.txt (original template and generated code)
to prevent forcefully linking `dl` on all UNIX platforms,
and rely on `${CMAKE_DL_LIBS}` portable variable instead.
- Do not try linking against `librt` on macOS.
- Add a `config_freebsd` directory containing the header file
generated by the `configure` script for the `ares` library.
8 years ago
yang-g
66d40c63f7
Fix BUILD dependency, copyright and cmake
8 years ago
Jan Tattermusch
ecc457b43f
allow using gRPC as a cmake subproject
8 years ago
Ken Payson
975b5103e5
Fix build on Alpine linux + add portability tests
8 years ago
Yuchen Zeng
7496218b9e
Add CARES_BUILD_INCLUDE_DIR
8 years ago
Yuchen Zeng
c75bbf287d
Fix cmake build on linux
8 years ago
Yuchen Zeng
d6b4985de0
Fix uv, cmake, bazel build
8 years ago
Piotr Pietraszkiewicz
9c7c4b91e5
Cosmetics (removed one newline)
8 years ago
Piotr Pietraszkiewicz
9a6181097d
Fix issue #9597
...
Generate consistently named PDBs for libraries across generators
and install those PDBs if present.
8 years ago
Jan Tattermusch
c019e057c2
cmake: fix #8729
8 years ago
Jan Tattermusch
514079179d
cmake: support static runtime linking
8 years ago
Jan Tattermusch
48cfe47a6d
boringssl silences its own warnings
8 years ago
Jan Tattermusch
c09656c5e1
build grpc_csharp_ext as shared
8 years ago
Jan Tattermusch
438c0b5771
add convenience cmake targets
8 years ago
Jan Tattermusch
87a5d65588
gflags library target renamed in v2.2.0
8 years ago
Jan Tattermusch
0a1701f17b
enable building of tests with cmake
8 years ago
Jan Tattermusch
cc64168829
cmake support for generating from .proto files
8 years ago
Jan Tattermusch
af7b87f8eb
remove unneeded/broken targets from CMakeLists.exe
8 years ago
Jan Tattermusch
3aab96f56c
successfuly compile gRPC with cmake+Ninja
8 years ago
Craig Tiller
83c4789da6
Fix CMakelists to point to the right version
8 years ago
Yuchen Zeng
8076d2b6ed
Build c-ares with cmake
8 years ago
Arkadiy Shapkin
40beb37859
Fix CMake for Windows
8 years ago
Konstantin Podsvirov
dd3314854c
CMake: Fix configuration file format bug
8 years ago
Konstantin Podsvirov
d2b883022c
CMake: Installation and Export Configuration
8 years ago
Konstantin Podsvirov
5baf725a9d
CMake: Choice third party provider
...
Now we can use submodules or external packages
8 years ago
Tamas Berghammer
2391156890
Add cmake option to compile using protobuf-lite
...
After this change specifying -DGRPC_USE_PROTO_LITE=On at the cmake
command line will cause gRPC to use the protobuf-lite runtime what
can result in a major size improvement.
8 years ago
Tamas Berghammer
a72712e245
Remove gmock protobuf dependency from cmake build
...
A full build of protobuf depends on gmock even though it is not part of
a standrad checkout. This CL explicitly disable the build of the
protobuf tests to get rid of this dependency.
If somebody want to build the protobuf tests then they have to download
gmock to the protobuf directory and specify -Dprotobuf_BUILD_TESTS=ON
to the cmake command line.
Fixes https://github.com/grpc/grpc/issues/7233
9 years ago
Nicolas "Pixel" Noble
b360c8acc7
Regenerating project files, and adding experimental disclaimer.
9 years ago
Tamas Berghammer
df6a44cd93
Improve the generated cmake build files
...
* Add project name and version number
* Fix zlib dependency of grpc
* Include more target (all, protoc, tool groups)
9 years ago