diff options
author | 2018-08-13 08:41:02 +0000 | |
---|---|---|
committer | 2018-08-13 08:41:02 +0000 | |
commit | bd6e75c243db1b384ba0882ecaf9063ec4cd70bd (patch) | |
tree | b9b55d73ebffe945a3aa6f4f8395b60e423682c2 /CMakeLists.txt | |
parent | cf40a3a63819266051b790834af4bacb2f630b4d (diff) | |
parent | 9e7b15fdd579574d86e53a99acf6bba6afcf3ed0 (diff) |
Merge "Fix: adding checkstyle custom targets"
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index e63100f..8fa558c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -138,6 +138,10 @@ ADD_DEPENDENCIES(DPDK dmm_api) ADD_CUSTOM_TARGET(pkg-rpm COMMAND sh ../scripts/generate_dmm_rpm.sh) ADD_CUSTOM_TARGET(pkg-deb COMMAND sh ../scripts/generate_dmm_deb.sh) +ADD_CUSTOM_TARGET(checkstyle + COMMAND bash ${CMAKE_CURRENT_LIST_DIR}/scripts/checkstyle.sh -c) +ADD_CUSTOM_TARGET(fixstyle + COMMAND bash ${CMAKE_CURRENT_LIST_DIR}/scripts/checkstyle.sh -f) ADD_CUSTOM_TARGET(clean-all COMMAND ${CMAKE_BUILD_TOOL} clean |