Kyle Edwards
bb8f6126ea
Append to CMAKE_MODULE_PATH instead of replacing it
5 years ago
Jan Tattermusch
f4eba1e871
cmake: use more portable way to enable C++11
5 years ago
Jan Tattermusch
e240ffe43e
fix build with OpenSSL1.1.1+ on Windows
5 years ago
Esun Kim
5207eba9ff
Add abseil
5 years ago
Zack Galbreath
cad4c32d43
Allow gRPC_INSTALL with module providers
5 years ago
Esun Kim
1b54364aca
Add preprocessed_builds to abseil-cpp
5 years ago
Kyle Edwards
933d75653d
Add Findc-ares.cmake module
...
This is a CMake find-module, which attempts to find c-ares without
a CMake package file being available. If such a file is available,
it uses that. Otherwise, it searches for the library and include
directory manually.
5 years ago
Jan Tattermusch
44b28e0c98
add a comment
5 years ago
Zack Galbreath
2837d000e9
Do not build channelz when gRPC_USE_PROTO_LITE
5 years ago
Kyle Edwards
d14fb4e83f
Automatically disable testing frameworks if gRPC_BUILD_TESTS=OFF
...
If gRPC_BUILD_TESTS is set to OFF, automatically set
gRPC_BENCHMARK_PROVIDER and gRPC_GFLAGS_PROVIDER to "none" so that
they don't get built.
5 years ago
Kyle Edwards
e808329475
Add options for all codegen plugins
...
Codegen plugins can be enabled or disabled individually by setting
gRPC_BUILD_<PLUGIN> to ON or OFF.
5 years ago
Esun Kim
4530d49f21
Update by review
5 years ago
Esun Kim
b479a57492
Update by review
5 years ago
Esun Kim
aaf48c66fc
Change upb from filegroup to library
5 years ago
Esun Kim
f33a7645c5
Removed _gRPC_*_INCLUDE_DIR
5 years ago
Kyle Edwards
0f2ad2a06c
Use CMakePackageConfigHelpers to generate version file
...
The version file that already existed looks like it was generated
by this module. Replace it with proper usage of the module.
5 years ago
Kyle Edwards
6f881ab292
Fix various CMake style issues
...
Remove some spaces at the end of lines. Change how variables are
referenced inside if() statements. Remove the space between if/endif
and the first parenthesis. Remove the duplicated condition from endif()
blocks. Make indentation more consistent. Remove unneeded duplicate
PRIVATE keywords from target_include_directories(). Remove redundant
set_source_files_properties() call, as the file is already GENERATED.
5 years ago
Kyle Edwards
ecdd1c915e
De-duplicate .proto file processing
...
.proto files that are used by more than one target have their code
files generated multiple times, which causes issues with
add_custom_command(). De-duplicate them so they're only generated
once.
5 years ago
Kyle Edwards
745aae8655
Add VERSION and SOVERSION properties to libraries
5 years ago
Jan Tattermusch
022e4490a0
try to fix pkgconfig distribtest
5 years ago
Zack Galbreath
7bb75068b5
Create pkg-config files from CMake
5 years ago
Jan Tattermusch
851d490b35
Revert "try fix windows artifact build"
...
This reverts commit 90509fcb68
.
5 years ago
Jan Tattermusch
90509fcb68
try fix windows artifact build
5 years ago
Jan Tattermusch
4e3a66aae8
get rid of wrong add_definitions usage
5 years ago
Esun Kim
49b9fb2b3c
Enable C++ standard library
5 years ago
Esun Kim
a031f0ffd6
Remove all nanopb defines
5 years ago
Esun Kim
7ec6e8a4de
Remove nanopb from gRPC
5 years ago
Esun Kim
f88bd06ee5
Go UPB!
5 years ago
Christopher Warrington
4be4df3624
Bump min CMake to 3.5.1 to match Google benchmark
...
The Google Benchmark CMake build needs CMake 3.5.1 or newer. CMake 3.5.1
was released May 24, 2016 and is available in Debian stable and Ubuntu
16.04 and 18.04.
5 years ago
Prashant Jaikumar
4ad6d6d4df
Enable CFStream by default on iOS for all wrapped languages
6 years ago
Jan Tattermusch
2bf9234f14
building upb as part of cmake build is not necessary
6 years ago
Jonas Vautherin
a5090c5875
Add support for CMAKE_SYSTEM_NAME=iOS
...
An iOS toolchain is now part of CMake (3.14+), and therefore it
makes sense to consider it. Note: it used to report "Darwin" and
now it reports "iOS".
Reference: https://cmake.org/cmake/help/latest/manual/cmake-toolchains.7.html#cross-compiling-for-ios-tvos-or-watchos
6 years ago
Bill Feng
ddae4333fa
addressed comments
6 years ago
Bill Feng
3a8e9bd465
added inclusion of gflags to template
6 years ago
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