Bug 374974

Summary: clazy --version
Product: [Developer tools] clazy Reporter: Allen Winter <winter>
Component: generalAssignee: Allen Winter <winter>
Status: RESOLVED FIXED    
Severity: normal CC: smartins
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description Allen Winter 2017-01-12 20:52:54 UTC
clazy --version should print :
 the current version of clazy and which version of clang++ it is using as well
Comment 1 Allen Winter 2017-01-12 20:53:23 UTC
I'll work on this
Comment 2 Allen Winter 2017-01-12 21:05:03 UTC
what version shall we call the current?
I see clazylib_VERSION variable in top-level CMakeLists.txt.  should I use that?
Comment 3 Sergio Martins 2017-01-12 23:06:36 UTC
I have a 1.0 tag already, make it print 1.1 please
Comment 4 Allen Winter 2017-01-13 13:30:49 UTC
Git commit 0ebf204ad1c68049a8a592eb92b9335cbd6c5bbf by Allen Winter.
Committed on 13/01/2017 at 13:14.
Pushed by winterz into branch 'master'.
 
Add --version command line option
REVIEW: 129812
 
M  +7    -0    CMakeLists.txt
M  +12   -0    clazy.cmake
 
https://commits.kde.org/clazy/0ebf204ad1c68049a8a592eb92b9335cbd6c5bbf