changeset 61:e7bf0728eff2

CMake: add documentation about MalikaniaVeraCheck.cmake
author David Demelier <markand@malikania.fr>
date Fri, 16 Dec 2016 15:38:25 +0100
parents c6d410648367
children a0081be977b5
files cmake/function/MalikaniaVeraCheck.cmake
diffstat 1 files changed, 14 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/cmake/function/MalikaniaVeraCheck.cmake	Fri Dec 16 15:31:44 2016 +0100
+++ b/cmake/function/MalikaniaVeraCheck.cmake	Fri Dec 16 15:38:25 2016 +0100
@@ -16,6 +16,20 @@
 # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 #
 
+#
+# malikania_vera_check
+# --------------------
+#
+# malikania_vera_check(target sources)
+#
+# Check the style source code using vera++.
+#
+# No-op if WITH_VERA is Off.
+#
+# This macro add a post-build command to call vera++ program on the specified
+# sources file for the given target.
+#
+
 function(malikania_vera_check target sources)
     if (WITH_VERA)
         add_custom_command(