-
You can find jcpp here: http://www.anarres.org/projects/jcpp/
I'm using jcpp 1.2.5. And the license is Apache-2.0.
Just found that we can remove the getopt depencency by remove the main.java class.
I also modified some test cases of cppncss to make it support -Dpublic=p kind of stuff.
I think you can revert that part because now what I changed is using jcpp to handle -D part, and still using...
2009-10-14 00:36:18 UTC in CppNcss
-
Sorry forget to login, this patch is from holywen :)
Thanks for this wonderful tool!
2009-10-13 10:13:57 UTC in CppNcss
-
see: bug 2848821
The -Dpublic=p does not work.
exception:
/usr/local/bin/cppncss -v -k -r -x -n=30 -Dpublic=non_pub -Dthis=not_this src/lib > cppncss.xml
Exception in thread "main" java.lang.IllegalArgumentException: Illegal macro/define name : 'public'
at cpptools.preprocessor.AbstractTokenFilter.check(AbstractTokenFilter.java:75)
at...
2009-09-14 04:49:14 UTC in CppNcss
-
Some time it's useful to statistics the line of comment to check the rate between NCSS and line of comment.
Is it possible to add this to the text and xml report?
Thanks!
2009-09-11 01:24:43 UTC in CppNcss
-
Thank you very much for the quick response! This is a good idea!
2009-09-11 01:21:49 UTC in CppNcss