meson.build (fae3641d95371a4cb089b413ef87708afffbdbac) | meson.build (e7f55113922cbde6fea1cc8b0b1548e55b0982d9) |
---|---|
1project('libpldm', 'c', 2 default_options: [ 3 'debug=true', 4 'optimization=g', 5 'warning_level=3', 6 'werror=true', 7 'cpp_std=c++20', 8 'c_std=c17', --- 21 unchanged lines hidden (view full) --- 30visible = '__attribute__((visibility("default")))' 31libpldm_deprecated_aliases = [] 32if get_option('abi').contains('deprecated') 33 conf.set('LIBPLDM_ABI_DEPRECATED', visible) 34 add_project_arguments('-DLIBPLDM_API_DEPRECATED', language: ['c', 'cpp']) 35 libpldm_deprecated_aliases += [ 36 ['get_fru_record_by_option_check', 'get_fru_record_by_option'], 37 ['pldm_pdr_add_check', 'pldm_pdr_add'], | 1project('libpldm', 'c', 2 default_options: [ 3 'debug=true', 4 'optimization=g', 5 'warning_level=3', 6 'werror=true', 7 'cpp_std=c++20', 8 'c_std=c17', --- 21 unchanged lines hidden (view full) --- 30visible = '__attribute__((visibility("default")))' 31libpldm_deprecated_aliases = [] 32if get_option('abi').contains('deprecated') 33 conf.set('LIBPLDM_ABI_DEPRECATED', visible) 34 add_project_arguments('-DLIBPLDM_API_DEPRECATED', language: ['c', 'cpp']) 35 libpldm_deprecated_aliases += [ 36 ['get_fru_record_by_option_check', 'get_fru_record_by_option'], 37 ['pldm_pdr_add_check', 'pldm_pdr_add'], |
38 ['pldm_pdr_add_fru_record_set_check', 'pldm_pdr_add_fru_record_set'], |
|
38 ] 39else 40 conf.set('LIBPLDM_ABI_DEPRECATED', '') 41endif 42conf.set('LIBPLDM_ABI_STABLE', visible) # Always expose the stable symbols 43if get_option('abi').contains('testing') 44 conf.set('LIBPLDM_ABI_TESTING', visible) 45 add_project_arguments('-DLIBPLDM_API_TESTING', language: ['c', 'cpp']) --- 22 unchanged lines hidden --- | 39 ] 40else 41 conf.set('LIBPLDM_ABI_DEPRECATED', '') 42endif 43conf.set('LIBPLDM_ABI_STABLE', visible) # Always expose the stable symbols 44if get_option('abi').contains('testing') 45 conf.set('LIBPLDM_ABI_TESTING', visible) 46 add_project_arguments('-DLIBPLDM_API_TESTING', language: ['c', 'cpp']) --- 22 unchanged lines hidden --- |