Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ament_cmake_uncrustify] Add ament_cmake_uncrustify_LANGUAGE variable
This standardizes the interface to manually specify the language for linters such as cppcheck and uncrustify, such that the necessary CMake code can look like: ```diff diff --git a/CMakeLists.txt b/CMakeLists.txt index f6a8bb3..f71e803 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -19,7 +19,7 @@ if(BUILD_TESTING) set(ament_cmake_cppcheck_LANGUAGE c++) - set(ament_cmake_uncrustify_ADDITIONAL_ARGS "--language c++") + set(ament_cmake_uncrustify_LANGUAGE c++) endif() ``` Signed-off-by: Abrar Rahman Protyasha <[email protected]>
- Loading branch information