Debian Codegraph @

third_party/upb/cmake/README.md

raw
1
2 # upb CMake build (EXPERIMENTAL)
3
4 upb's CMake support is experimental. The core library builds successfully
5 under CMake, and this is verified by the Bazel tests in this directory.
6 However there is no support for building the upb compiler or for generating
7 .upb.c/upb.h files. This means upb's CMake support is incomplete at best,
8 unless your application is intended to be purely reflective.
9
10 If you find this CMake setup useful in its current state, please consider
11 filing an issue so we know. If you have suggestions for how it could be
12 more useful (and particularly if you can contribute some code for it)
13 please feel free to file an issue for that too. Do keep in mind that upb
14 does not currently provide any ABI stability, so we want to avoid providing
15 a shared library.
16
17 The CMakeLists.txt is generated from the Bazel BUILD files using the Python
18 scripts in this directory. We want to avoid having two separate sources of
19 truth that both need to be updated when a file is added or removed.
20
21 This directory also contains some generated files that would be created
22 on the fly during a Bazel build. These are automaticaly kept in sync by
23 the Bazel test `//cmake:test_generated_files`.