freetype-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Git][freetype/freetype][master] * meson.build: Add support for compilin


From: Alexei Podtelezhnikov (@apodtele)
Subject: [Git][freetype/freetype][master] * meson.build: Add support for compiling with error strings.
Date: Sat, 12 Oct 2024 10:47:40 +0000

Alexei Podtelezhnikov pushed to branch master at FreeType / FreeType

Commits:

  • f4c2a44e
    by Benoit Pierre at 2024-10-12T10:47:38+00:00
    * meson.build: Add support for compiling with error strings.
    * meson_options.txt: Document it.
    

2 changed files:

Changes:

  • meson.build
    ... ... @@ -363,6 +363,10 @@ if brotli_dep.found()
    363 363
       ft2_deps += [brotli_dep]
    
    364 364
     endif
    
    365 365
     
    
    366
    +if get_option('error_strings')
    
    367
    +  ftoption_command += ['--enable=FT_CONFIG_OPTION_ERROR_STRINGS']
    
    368
    +endif
    
    369
    +
    
    366 370
     # We can now generate `ftoption.h`.
    
    367 371
     ftoption_h = custom_target('ftoption.h',
    
    368 372
       input: 'include/freetype/config/ftoption.h',
    

  • meson_options.txt
    ... ... @@ -52,4 +52,9 @@ option('zlib',
    52 52
                  'disabled', 'enabled' ],
    
    53 53
       description: 'Support reading gzip-compressed font files')
    
    54 54
     
    
    55
    +option('error_strings',
    
    56
    +  type: 'boolean',
    
    57
    +  value: false,
    
    58
    +  description: 'Enable support for meaningful error descriptions')
    
    59
    +
    
    55 60
     # EOF


  • reply via email to

    [Prev in Thread] Current Thread [Next in Thread]