1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 19:57:36 +00:00

Meta+LibUnicode: Move unicode_data helper to Meta/CMake

Moving this helper CMake file to the centralized Meta/CMake folder helps
to get a better grasp on what extra files are required for the build,
and what files are generated.

While we're at it, don't use add_compile_definitions for
ENABLE_UNICODE_DATA, which only needs to be seen by LibUnicode sources.
This commit is contained in:
Andrew Kaster 2021-08-08 00:06:55 -06:00 committed by Linus Groh
parent 47471c0ec2
commit e88761b2b9
6 changed files with 11 additions and 10 deletions

View file

@ -36,13 +36,13 @@ steps:
- ${{ if eq(parameters.with_unicode_caches, true) }}:
- task: Cache@2
inputs:
key: '"unicode_data" | Userland/Libraries/LibUnicode/unicode_data.cmake'
key: '"unicode_data" | Meta/CMake/unicode_data.cmake'
path: $(Build.SourcesDirectory)/${{ parameters.build_directory }}/UCD
displayName: 'UnicodeData Cache'
- task: Cache@2
inputs:
key: '"unicode_locale" | Userland/Libraries/LibUnicode/unicode_data.cmake'
key: '"unicode_locale" | Meta/CMake/unicode_data.cmake'
path: $(Build.SourcesDirectory)/${{ parameters.build_directory }}/CLDR
displayName: 'UnicodeLocale Cache'