Paolo Tranquilli
0a137c7b02
Bazel/Cmake: share build options
2024-02-29 15:35:21 +01:00
Paolo Tranquilli
81facd2fd6
Merge branch 'main' into redsun82/bazel-cmake
2024-02-29 14:28:00 +01:00
Paolo Tranquilli
c0eeb7a34e
Bazel: reference (and locally stub) internal module
2024-02-12 15:58:43 +01:00
Paolo Tranquilli
b105d0cf9a
Bazel/CMake: be more lenient with aquery
...
It turns out `bazel aquery` is not so well behaved on Windows, so we
need to accept that it reports errors and exits with an error.
2024-02-07 16:25:54 +01:00
Paolo Tranquilli
9cfef6e42f
Bazel/CMake: auto detect all cc_binary/cc_test targets
2024-02-07 11:11:30 +01:00
Paolo Tranquilli
819fc52854
Bazel/CMake: use bazelisk to use correct bazel version
2023-12-13 15:32:06 +01:00
Paolo Tranquilli
f49f6430a1
Bazel/CMake: make cmake runnable from outside the workspace
...
Also added a small `README.md` file.
2022-10-24 14:15:45 +02:00
Paolo Tranquilli
0ae70fda37
Bazel/CMake: make generated inclusion explicit
2022-10-14 10:57:40 +02:00
Paolo Tranquilli
d734ed9839
Bazel/CMake: fix multiple cmake generate targets
2022-10-14 10:12:40 +02:00
Paolo Tranquilli
3946448e7c
Bazel/CMake: create compilation database by default
...
If on Windows and not in developer mode, the creation of the symbolic
link can be skipped by setting `CREATE_COMPILATION_DATABASE_LINK` to
`OFF`.
2022-10-14 09:58:09 +02:00
Paolo Tranquilli
739702b905
Bazel/CMake: make compilation db link symbolic
2022-10-14 08:57:16 +02:00
Paolo Tranquilli
2b47375190
Bazel/CMake: use -iquote
2022-10-14 08:54:15 +02:00
Paolo Tranquilli
b8b6b254bb
Swift: cmake generator for better IDE support
...
A cmake generator in bazel is introduced allowing to import the Swift
extractor as a CMake project while keeping Bazel files as the source of
truth for the build.
Using the CMake project:
* requires bazel and clang to be installed and available on the command
line
* does not require a previous bazel build, however
* will require a CMake reconfiguration for changes to generated code
(like changes to the schema)
2022-10-13 15:25:24 +02:00