alibaba / ilogtail

Fast and Lightweight Observability Data Collector
https://ilogtail.gitbook.io/ilogtail-docs
Apache License 2.0
1.74k stars 387 forks source link

add cmake log pb generate custom command #1685

Open bilosikia opened 2 months ago

bilosikia commented 2 months ago

目前,每次编译 ilogtail 时,都会在 dependencies.cmake 中重新生成 log pb 文件,导致依赖于这些文件的 target 都需要重新编译。 通过 add_custom_command 命令,只有在依赖的 .proto 文件变化时,才触发重新生成 pb 文件。

CLAassistant commented 2 months ago

CLA assistant check
All committers have signed the CLA.