Commit 5e46376
Add FBGenCMakeBuildInfo.cmake and getdeps manifest
Summary:
Add the build infrastructure files needed for the BGP++ OSS CMake build system:
1. `FBGenCMakeBuildInfo.cmake` — copied from Open/R, provides `add_build_info()` and `generate_build_info()` CMake functions that auto-generate `CMakeBuildInfo.cpp` at build time. This populates the `BuildInfo_k*` constants declared in `bgp/cpp/common/CMakeBuildInfo.h`, which the OSS `BuildInfo.cpp` reads.
2. `opensource/fbcode_builder/manifests/bgppp` — getdeps.py manifest that declares BGP++ dependencies (folly, fbthrift, fb303, boost, re2), sets the CMake builder, and defines the ShipIt path mapping (`public_tld = .` maps to OSS repo root).
getdeps.py is Meta's OSS dependency builder. It reads this manifest, recursively builds all dependencies from source (folly → fbthrift → fb303), then invokes CMake for BGP++ with the correct CMAKE_PREFIX_PATH so find_package() resolves.
Differential Revision: D103337709
fbshipit-source-id: cd79448cc70ab18fd4e5635bfb290cd37e9c3e171 parent d2177e8 commit 5e46376
1 file changed
Lines changed: 26 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
0 commit comments