Skip to content

Conversation

@Vertexwahn
Copy link

This PR helps users of the Bazel build system to integrate xtl in their builds.

Supporting two build systems (CMake and Bazel) is of course more effort to maintain but helps to spread xtl.
In the worst case the Bazel build does simply not work - in the best case, someone who uses Bazel can benefit from it.

Also, other projects support CMake and Bazel side by side (e.g. Catch2, gtest, etc.)

@Vertexwahn Vertexwahn force-pushed the add-bazel-support branch 2 times, most recently from c3056e0 to 16f2687 Compare December 9, 2023 09:15
@Vertexwahn Vertexwahn changed the title Add Bazel build files Add Bazel support Dec 9, 2023
@Vertexwahn Vertexwahn force-pushed the add-bazel-support branch 3 times, most recently from 5a0d96a to 6b9009b Compare December 9, 2023 09:44
@JohanMabille
Copy link
Member

JohanMabille commented Dec 12, 2023

Hi @Vertexwahn , and thank you for your contribution.

In the worst case the Bazel build does simply not work [...]

I am not fan of providing sometihng that potentially does not work, meaning this build should be tested and maintained. However, we have limited bandwidth, and I won't be able to maintain this myself; so is that something you plan to maintain on the long run?

Another approach could be to have the Bazel build of xtl in a dedicated repo.

@Vertexwahn
Copy link
Author

@JohanMabille I can maintain it at least for the next 6 months. After this period we can decide if this is dropped again or if I can continue.

@Vertexwahn
Copy link
Author

Moved it to Bazel Central Registry: https://registry.bazel.build/modules/xtl

@Vertexwahn Vertexwahn closed this Sep 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants