mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-12-13 19:50:34 +00:00
Do not apply clang-tidy fixes to protobuf-generated headers
This commit is contained in:
parent
1287e8fe79
commit
3773f3c71a
@ -67,14 +67,18 @@ target_link_libraries(pvt_libs
|
||||
Matio::matio
|
||||
)
|
||||
|
||||
get_filename_component(PROTO_INCLUDE_HEADERS ${PROTO_HDRS} DIRECTORY)
|
||||
get_filename_component(PROTO_INCLUDE_HEADERS_DIR ${PROTO_HDRS} DIRECTORY)
|
||||
|
||||
# for concurrent_queue.h
|
||||
target_include_directories(pvt_libs
|
||||
PUBLIC
|
||||
${CMAKE_SOURCE_DIR}/src/core/receiver
|
||||
SYSTEM ${PROTO_INCLUDE_HEADERS}
|
||||
PRIVATE
|
||||
${CMAKE_SOURCE_DIR}/src/algorithms/libs # for gnss_sdr_make_unique.h
|
||||
)
|
||||
|
||||
# Do not apply clang-tidy fixes to protobuf generated headers
|
||||
target_include_directories(pvt_libs
|
||||
SYSTEM PUBLIC
|
||||
${PROTO_INCLUDE_HEADERS_DIR}
|
||||
)
|
||||
|
||||
target_compile_definitions(pvt_libs PRIVATE -DGNSS_SDR_VERSION="${VERSION}")
|
||||
|
@ -53,14 +53,19 @@ target_link_libraries(core_monitor
|
||||
Gnuradio::pmt
|
||||
)
|
||||
|
||||
get_filename_component(PROTO_INCLUDE_HEADERS ${PROTO_HDRS} DIRECTORY)
|
||||
get_filename_component(PROTO_INCLUDE_HEADERS_DIR ${PROTO_HDRS} DIRECTORY)
|
||||
|
||||
target_include_directories(core_monitor
|
||||
PUBLIC
|
||||
SYSTEM ${PROTO_INCLUDE_HEADERS}
|
||||
${CMAKE_SOURCE_DIR}/src/core/interfaces
|
||||
PRIVATE
|
||||
${CMAKE_SOURCE_DIR}/src/algorithms/libs # for gnss_sdr_make_unique
|
||||
${CMAKE_SOURCE_DIR}/src/algorithms/libs # for gnss_sdr_make_unique
|
||||
)
|
||||
|
||||
# Do not apply clang-tidy fixes to protobuf generated headers
|
||||
target_include_directories(core_monitor
|
||||
SYSTEM PUBLIC
|
||||
${PROTO_INCLUDE_HEADERS_DIR}
|
||||
)
|
||||
|
||||
if(GNURADIO_USES_STD_POINTERS)
|
||||
|
Loading…
Reference in New Issue
Block a user