1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-10-19 02:17:27 +08:00
Files
CMake/Tests/FindProtobuf/Test/main-generate-grpc.cxx
Xiong Nandi 1dc1d000a0 FindProtobuf: Fix IMPORT_DIRS handling and relative directory generation
Append ${CMAKE_CURRENT_SOURCE_DIR} to `_protobuf_include_path` last, since
protoc will search the path in order.

Besides, we have to figure out the output directory by iterating through the
include paths and checking for valid relative paths.
2024-09-11 12:56:28 -04:00

7 lines
65 B
C++

#include <example_service.grpc.pb.h>
int main()
{
return 0;
}