1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 21:27:45 +00:00

Meta: Move LibWeb's CMake generation script to its own file

This patch has no functional changes, but prepares the CMake script to
be able to handle LibWeb on Lagom.
This commit is contained in:
DexesTTP 2022-04-30 12:50:51 +02:00 committed by Linus Groh
parent 9035d9e845
commit b37379d489
4 changed files with 356 additions and 328 deletions

View file

@ -28,7 +28,7 @@ interface CSSRule {
- `#include <LibWeb/Bindings/HTMLDetailsElementPrototype.h>` to the includes list.
- `ADD_WINDOW_OBJECT_INTERFACE(HTMLDetailsElement) \` to the macro at the bottom.
4. Add a `libweb_js_wrapper(HTML/HTMLDetailsElement)` call to [`LibWeb/CMakeLists.txt`](../../Userland/Libraries/LibWeb/CMakeLists.txt)
4. Add a `libweb_js_wrapper(HTML/HTMLDetailsElement)` call to [`LibWeb/idl_files.cmake`](../../Userland/Libraries/LibWeb/idl_files.cmake)
5. Forward declare the generated classes in [`LibWeb/Forward.h`](../../Userland/Libraries/LibWeb/Forward.h):
- `HTMLDetailsElement` in its namespace.