build: vppapigen dependency handling 59/41159/2
authorOle Troan <[email protected]>
Wed, 19 Jun 2024 09:31:30 +0000 (11:31 +0200)
committerOle Troan <[email protected]>
Wed, 19 Jun 2024 11:18:36 +0000 (13:18 +0200)
commited61b20ad7bd439f58393ae19694aa09c4f44ee0
tree9b1462dc90747f155de7bcf84576bd2e769d92ff
parente95687b0d6f692ed0b27e0ff0876fbe61be6c4a3
build: vppapigen dependency handling

Add dependency generation to the vppapigen compiler, so that
when an API file depends on another, that's registered as a dependency
with the build system.

Add a build dependency on vppapigen submodules so that all api files
are regenerated if the compiler itself changes.

Type: improvement
Change-Id: I392853754129778ef15532d1b04813786b943b44
Signed-off-by: Ole Troan <[email protected]>
src/cmake/api.cmake
src/tools/vppapigen/vppapigen.py