okular/.kde-ci.yml
Sune Vuorela 85bc3d6609 Add CppCheck suppression file
The pattern that the Q_D macros use, cppcheck does not like. So tell it
to ignore it.

Also, cppcheck seems to have a preference for not using for loops if you
can avoid it; we use for loops quite heavily, so also suppress that.
2023-12-07 14:54:30 +01:00

34 lines
937 B
YAML

# SPDX-FileCopyrightText: None
# SPDX-License-Identifier: CC0-1.0
Dependencies:
- 'on': ['@all']
'require':
'frameworks/kbookmarks': '@stable'
'frameworks/threadweaver': '@stable'
'frameworks/ki18n': '@stable'
'frameworks/kio': '@stable'
'frameworks/karchive': '@stable'
'libraries/phonon': '@stable'
'graphics/kdegraphics-mobipocket': '@same'
- 'on': ['Linux', 'FreeBSD', 'Windows']
'require':
'frameworks/khtml': '@stable'
'frameworks/purpose': '@stable'
'frameworks/breeze-icons': '@stable'
'graphics/libkexiv2': '@same'
- 'on': ['Linux', 'FreeBSD']
'require':
'plasma/plasma-activities': '@stable'
'frameworks/kpty': '@stable'
- 'on': ['Android']
'require':
'frameworks/kirigami': '@stable'
Options:
cppcheck-arguments: '--enable=warning,style,performance -DOKULAR_EXPORT_PLUGIN --suppress-xml=cppcheck-suppressions.xml'
cppcheck-ignore-files:
- autotests