Open
Description
Hello!
I'm currently working on integration of BlazingMQ into ClickHouse (like RabbitMQ) and have issues with building BMQ as a submodule for ClickHouse. My current work is here.
BMQ has a bit tricky building chain while ClickHouse submodules are added with a pretty straightforward CMakeLists. What I did:
- I added BMQ and its dependencies (BDE and ntf-core) as submodules for ClickHouse.
- As far as I understand, BDE can be build with plain cmake, so I wrote external CMakeLists.txt for BDE, ntf-core and BMQ to build and link them to ClickHouse.
- I didn't understand how to properly add include directories with BDE and BMQ headers, so I added entire source (like
target_include_directories(_bal SYSTEM PUBLIC "${BDE_LIBRARY_DIR}/groups/bal/**/*.h")
). - Build fails with this. Basically, there are two types of errors:
error: "filename" file not found
(yet it does exist) anderror: "filename" file not found with <angled> include; use "quotes" instead
.
How can I fix this and build bmq properly?