Lines Matching +full:cmake +full:- +full:opts
5 'cpp_eh=none', # Just to support msvc, we are passing -fno-exceptions also anyway
8 …'wrap_mode=nofallback', # Use --wrap-mode=default to revert, https://github.com/harfbuzz/harfbuzz/…
26 if ['clang', 'clang-cl'].contains(cpp.get_id()) and cpp.get_define('_MSC_FULL_VER') != ''
27 add_project_arguments('-std=c++14', language: 'cpp')
36 '/wd4244', # lossy type conversion (e.g. double -> int)
37 cpp.get_supported_arguments(['/utf-8']), # set the input encoding to utf-8
45 '-Bsymbolic-functions'
49 '-fno-exceptions',
50 '-fno-rtti',
51 '-fno-threadsafe-statics',
52 '-fvisibility-inlines-hidden',
56 if cpp.has_argument('-mstructure-size-boundary=8')
57 add_project_arguments('-mstructure-size-boundary=8', language: 'cpp')
63 '-Wa,-mbig-obj'
89 # pkg-config: freetype2, cmake: Freetype
101 # try pkg-config name
102 freetype_dep = dependency('freetype2', method: 'pkg-config', required: freetype_opt)
103 # when disabled, leave it not-found
105 # Try cmake name
106 freetype_dep = dependency('Freetype', method: 'cmake', required: false)
111 method: 'pkg-config',
119 glib_dep = dependency('glib-2.0', required: get_option('glib'))
120 gobject_dep = dependency('gobject-2.0', required: get_option('gobject'))
125 #llvm_dep = cpp.find_library('LLVM-15', required: get_option('wasm'))
128 # pkg-config: icu-uc, cmake: ICU but with components
129 icu_dep = dependency('icu-uc', 'ICU',
140 # try pkg-config name
141 icu_dep = dependency('icu-uc', method: 'pkg-config', required: icu_opt)
142 # when disabled, leave it not-found
144 # Try cmake name
145 icu_dep = dependency('ICU', method: 'cmake', components: 'uc', required: false)
151 icu_dep = dependency('icu-uc',
152 method: 'pkg-config',
169 cairo_ft_dep = dependency('cairo-ft', required: false)
176 prefix: '#include <cairo-ft.h>',
183 # Note that we don't have harfbuzz -> cairo -> freetype2 -> harfbuzz fallback
189 cairo_ft_dep = dependency('cairo-ft', required: cairo_ft_required)
198 add_project_arguments('-DHAVE_CONFIG_H', language: ['c', 'cpp'])
201 '-Wno-non-virtual-dtor',
317 # On iOS CoreText and CoreGraphics are stand-alone frameworks
356 opts = check.get(1, {}) variable
357 link_withs = opts.get('link_with', [])
358 check_deps = opts.get('deps', [])
388 # CMake support (package install dir)
391 # https://cmake.org/cmake/help/latest/module/CMakePackageConfigHelpers.html#command:configure_packa…
395 # files, i.e. include and lib/cmake. If CMake package files are installed to
399 # CMake files to calculate the correct relative paths.
400 # Of course, this still defaults to $libdir/cmake if unset, which works for
405 cmake_package_install_dir = get_option('libdir') / 'cmake'
449 'Dependencies used for command-line utilities':