ladybird/Userland/Libraries/LibIDL
Daniel Bertalan 24d2c90a28 BindingsGenerator+CMake: Keep track of IDL dependencies
This commit teaches BindingsGenerator to generate depfiles, which can be
used by CMake to ensure that bindings are properly regenerated when
imported IDL files change.

Two new options, `--depfile` and `--depfile-target` are added.
- `--depfile` sets the path for the dependency file.
- `--depfile-target` lets us set a target name different than the output
  file in the depfile. This option is needed because generated files are
  first written to a temporary file, but depfiles have to refer to the
  final location.
These are analogous to GCC's `-MF` and `-MT` options respectively. The
depfile's syntax matches the ones generated by GCC.

Note: This changes the minimal required CMake version to 3.20 if the
Make generator is used, and to 3.21 for the Xcode generator. Ninja is
not affected.
2022-12-13 11:31:24 +01:00
..
CMakeLists.txt Everywhere: Mark dependencies of most targets as PRIVATE 2022-11-01 14:49:09 +00:00
IDLParser.cpp BindingsGenerator+CMake: Keep track of IDL dependencies 2022-12-13 11:31:24 +01:00
IDLParser.h BindingsGenerator+CMake: Keep track of IDL dependencies 2022-12-13 11:31:24 +01:00
Types.cpp LibIDL: Fix bug where entire EffectiveOverloadSet was erased 2022-11-30 14:43:22 +01:00
Types.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00