ladybird/Userland/Libraries/LibTimeZone
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
..
CMakeLists.txt Lagom+CMake: Propagate dependencies for generated custom targets 2022-10-17 15:55:55 +02:00
Forward.h LibTimeZone: Parse and generate a list of time zones used by region 2022-07-06 16:56:42 +02:00
TimeZone.cpp Everywhere: Replace uses of __serenity__ with AK_OS_SERENITY 2022-10-10 12:23:12 +02:00
TimeZone.h LibTimeZone: Parse and generate a list of time zones used by region 2022-07-06 16:56:42 +02:00