ladybird/Userland
Andrew Kaster b8e51425e9 Lagom+CMake: Propagate dependencies for generated custom targets
We have logic for serenity_generated_sources which works well for source
files that are specified in GENERATED_SOURCES prior to calling
serenity_lib or serenity_bin. However, code generated with
invoke_generator, and the LibWeb generators do not always follow the
pattern of the IDL and GML files.

For the LibWeb generators, we can just add_dependencies to LibWeb at the
time we declare the generate_Foo custom target. However for LibLocale,
LibTimeZone, and LibUnicode, we don't have the name of the target
available, so export the name in a variable to set into
GENERATED_SOURCES.

To make this work for Lagom, we need to make sure that lagom_lib and
serenity_bin in Lagom/CMakeLists.txt call serenity_generated_sources on
the target.

This enables the Xcode generator on macOS hosts, at least for Lagom.
2022-10-17 15:55:55 +02:00
..
Applets Userland: Tighten promises by removing 'proc' where it isn't used 2022-10-03 17:09:21 +01:00
Applications WebDriver: Add/Expand some dbgln's 2022-10-17 15:48:22 +02:00
Demos CatDog: Make it always on top 2022-10-13 12:37:54 +01:00
DevTools GMLPlayground: Allow previewing GML in a separate window 2022-10-15 23:16:38 +02:00
DynamicLoader DynamicLoader: Use fewer GLOB patterns for arch-specific files 2022-10-16 16:36:39 +02:00
Games Spider: Make the last move undoable 2022-10-15 14:21:45 +02:00
Libraries Lagom+CMake: Propagate dependencies for generated custom targets 2022-10-17 15:55:55 +02:00
Services WebDriver: Implement POST /session/{id}/cookie endpoint 2022-10-17 15:48:22 +02:00
Shell CMake+Userland: Use CMakeLists from Userland to build Lagom Libraries 2022-10-16 16:36:39 +02:00
Utilities LibJS+js: Disable console debug messages outside Serenity only for js 2022-10-16 02:06:02 +03:30
CMakeLists.txt Meta+Userland: Add ENABLE_USERSPACE_COVERAGE_COLLECTION CMake option 2022-05-02 01:46:18 +02:00