Hi Milian,

On 28 Jan 2015, at 16:59 , Milian Wolff <m...@milianw.de> wrote:
> OK, can you tell me how to tweak cppcheckExtraArgs for individual projects, 
> e.g. kdevplatform for now?

for this project currently exists this file:
---
$ cd PATH_TO_BUILD-KDE-ORG
$ cat config/build/kdevplatform/kf5-qt5.cfg 
[DEFAULT]
configureExtraArgs=-DBUILD_COVERAGE=ON

[QualityCheck]
runCppcheck=True

---
which ensures that cppcheck is run at all.


Now you simply add your additional arguments ‘-foo' and ‘-bar' to 
cppcheckExtraArgs like this:
---
$ cat config/build/kdevplatform/kf5-qt5.cfg 
[DEFAULT]
configureExtraArgs=-DBUILD_COVERAGE=ON

[QualityCheck]
runCppcheck=True
cppcheckExtraArgs=-foo -bar

---
and commit it back to the production branch of b-k-o [1].

Job done.

Regards,
Marko



[1] 
http://quickgit.kde.org/?p=websites%2Fbuild-kde-org.git&a=tree&hb=eda27c0bbcd26d4d124c15b082f09169b95c962b


>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

Reply via email to