File tree 2 files changed +17
-12
lines changed
2 files changed +17
-12
lines changed Original file line number Diff line number Diff line change 67
67
},
68
68
"flags" : ["UNIQUE" ],
69
69
},
70
+ "userver_add_grpc_library" : {
71
+ "pargs" : 1 ,
72
+ "kwargs" : {
73
+ "PROTOS" : "*" ,
74
+ "INCLUDE_DIRECTORIES" : "*" ,
75
+ },
76
+ },
70
77
}
71
78
72
79
# -----------------------------
Original file line number Diff line number Diff line change @@ -141,18 +141,16 @@ endif()
141
141
if (USERVER_BUILD_TESTS)
142
142
userver_add_grpc_library(
143
143
${PROJECT_NAME} -unittest-proto
144
- PROTOS
145
- # Absolute paths are allowed
146
- ${CMAKE_CURRENT_SOURCE_DIR} /proto/tests/unit_test.proto
147
- # As well as paths relative to CMAKE_CURRENT_SOURCE_DIR
148
- tests/messages.proto
149
- tests/protobuf.proto
150
- tests/same_service_and_method_name.proto
151
- tests/global_package.proto
152
- tests/repeating_word_in_package_name.proto
153
- tests/secret_fields.proto
154
- INCLUDE_DIRECTORIES
155
- ${CMAKE_CURRENT_SOURCE_DIR} /proto
144
+ PROTOS # Absolute paths are allowed
145
+ ${CMAKE_CURRENT_SOURCE_DIR} /proto/tests/unit_test.proto
146
+ # As well as paths relative to CMAKE_CURRENT_SOURCE_DIR
147
+ tests/messages.proto
148
+ tests/protobuf.proto
149
+ tests/same_service_and_method_name.proto
150
+ tests/global_package.proto
151
+ tests/repeating_word_in_package_name.proto
152
+ tests/secret_fields.proto
153
+ INCLUDE_DIRECTORIES ${CMAKE_CURRENT_SOURCE_DIR} /proto
156
154
)
157
155
158
156
add_executable (${PROJECT_NAME} -unittest ${UNIT_TEST_SOURCES} )
You can’t perform that action at this time.
0 commit comments