Jonas Vautherin
37ba57ec48
Bugfix: cc_install following a cc_library must use BUILD_CODEGEN, too
6 years ago
Jan Tattermusch
0e4c184845
use internal variable
6 years ago
Markus Heß
0d7a0ded1c
when cross-compiling, the host grpc_cpp_plugin should be used
6 years ago
Muxi Yan
195c042d32
Replace PB_FIELD_16BIT with PB_FIELD_32BIT
6 years ago
Jan Tattermusch
a2b2927f72
fix backward compatibility mode on macos
6 years ago
Jan Tattermusch
43836ced82
cmake: add backwards compatibility mode
6 years ago
Jan Tattermusch
08125f7af0
cmake: prevent C core from depending on libstdc++
6 years ago
Jan Tattermusch
23c3c47756
rephrase comment
6 years ago
Jan Tattermusch
d1396550bc
try fix c++ vs2017 build
6 years ago
Jozef Izso
bbdee16b99
Allow conditional builds of grpc_csharp_ext for vcpkg manager
7 years ago
Alexander Polcyn
18caf6d2fe
link address sorting against gRPC_BASELIB_LIBRARIES, for windows
7 years ago
David Garcia Quintas
7f9470297f
cmake changes
7 years ago
Jan Tattermusch
a3992d2769
cmake install should also install roots.pem
7 years ago
Vijay Pai
c4cc740d61
Remove tool from install
7 years ago
Alexander Polcyn
5de347855a
Reorganize cmake rules for address sorting; also fix merge conflict
...
Fix clang-tide issue
7 years ago
Alexander Polcyn
690dde672a
Add address sorting submodule for use in c-ares wrapper
7 years ago
Yihua Zhang
04fb58efbd
Add ALTS code to grpc/core
7 years ago
Sree Kuchibhotla
ae277dd000
Revert "Add ALTS C stack to gRPC core"
7 years ago
Yihua Zhang
eaf6486677
Add ALTS code to grpc/core
7 years ago
Eric Gribkoff
a32a4c51f8
C++ on Android example client and server
7 years ago
Jan Tattermusch
c35e52e2a5
cmake: dont use rt and pthread for Android
7 years ago
Jan Tattermusch
586f719898
cleanup cmake include directories
7 years ago
Stefan Hacker
471a5dc18b
Fix cmake export for grpc
...
This patch fixes two issues with the targets exported by the
grpc cmake build:
- Install directories are now given relative instead of absolute.
Previously the exported targets would contain absolute paths to
their created targets when they should be relative. The actual
installation location stays the same as cmake automatically
interprets the paths relative to CMAKE_INSTALL_PREFIX
- ZLIB and OpenSSL are now linked using targets instead of the
legacy library variables if possible. Using the legacy paths
produces absolute paths to those dependencies in the export.
With this change cmake inserts the target names instead.
With these changes no more absolute paths are inserted into the
export allowing the install location to be used as an artifact
that can be moved or transfered to another machine and used there.
7 years ago
Jan Tattermusch
f38b1526f8
simplify top level CMakeLists.txt
7 years ago
Jan Tattermusch
86ef92516a
dont hardcode using boringssl headers when ssl provider is package
7 years ago
Jan Tattermusch
3fc14dc979
exclude artificial ares target when building with cmake
7 years ago
Jan Tattermusch
3c93a1982d
working cmake install on windows
7 years ago
Craig Tiller
348b334f4b
Back-out absl dependency for now
7 years ago
Jan Tattermusch
facd2a6335
fix cmake builds with absl
7 years ago
Craig Tiller
4e86af77f5
Update CMakelists.txt
7 years ago
Jay Lee
d6c4e937ce
update template
7 years ago
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