diff options
| author | allusive-dev <[email protected]> | 2023-11-18 08:21:51 +1100 |
|---|---|---|
| committer | allusive-dev <[email protected]> | 2023-11-18 08:21:51 +1100 |
| commit | be87e3336f7f897db5e089d673d2a288ff783af9 (patch) | |
| tree | e5fbf0a2c3f49e99d0aeddaf510b6ae4ee918e2d /meson.build | |
| parent | update contributors (diff) | |
| download | compfy-1.7.1.tar.xz compfy-1.7.1.zip | |
deprecate sub-projects and testing1.7.1
Diffstat (limited to 'meson.build')
| -rw-r--r-- | meson.build | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/meson.build b/meson.build index e74d184..d162424 100644 --- a/meson.build +++ b/meson.build @@ -12,32 +12,6 @@ if get_option('buildtype') == 'release' add_global_arguments('-DNDEBUG', language: 'c') endif -if get_option('sanitize') - sanitizers = ['address', 'undefined'] - if cc.has_argument('-fsanitize=integer') - sanitizers += ['integer'] - endif - if cc.has_argument('-fsanitize=nullability') - sanitizers += ['nullability'] - endif - add_global_arguments('-fsanitize='+','.join(sanitizers), language: 'c') - add_global_link_arguments('-fsanitize='+','.join(sanitizers), language: 'c') - if cc.has_argument('-fno-sanitize=unsigned-integer-overflow') - add_global_arguments('-fno-sanitize=unsigned-integer-overflow', language: 'c') - endif -endif - -if get_option('modularize') - if not cc.has_argument('-fmodules') - error('option \'modularize\' requires clang') - endif - add_global_arguments(['-fmodules', - '-fmodule-map-file='+ - meson.current_source_dir()+ - '/src/compfy.modulemap'], - language: 'c') -endif - add_global_arguments('-D_GNU_SOURCE', language: 'c') if cc.has_header('stdc-predef.h') @@ -61,8 +35,6 @@ if get_option('with_docs') install_data('./man/compfy.1', install_dir: join_paths(get_option('mandir'), 'man1')) endif -test_h_dep = subproject('test.h').get_variable('test_h_dep') - subdir('src') install_data('compfy.desktop', install_dir: 'share/applications') |