[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: configuring cppcheck on the CI
From:       <mk-lists () email ! de>
Date:       2015-01-28 17:18:51
Message-ID: 1DEB0741-D87A-4EE9-B95A-D52E7B852EEF () email ! de
[Download RAW message or body]

Hi Milian,

On 28 Jan 2015, at 16:59 , Milian Wolff <mail@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 <<


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic