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
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