anchor.diff:      CPPCHECK_BIN  
       CPPCHECK_THREADS
       CPPCHECK_ARG)
  ----
  +----
   
   Export the variables so that they can be seen from ccmake / cmake-gui
   and set in the cache. By default these will not be visible unless the
  
positive.code: [source,cmake]
  ----
  set (ALL_ANALYSIS_TARGETS)
  ---
  
  Second add the following after your add_subdirectories() call.
  
  
negative.code:             DEPENDS ${${_sources}}
              COMMENT "Running cppcheck: ${_target}"
              VERBATIM)
  ----
  
  Add a custom command which is called from the custom target added above.
  This will call cppcheck with any includes, arguments and sources that
  