Skip to content

Commit 5fcb83a

Browse files
committed
add style checking for multi channel demos
1 parent 51eacf1 commit 5fcb83a

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

demos/multi_channel_face_detection_demo/cpp/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ source_group("include" FILES ${MAIN_HEADERS})
3030
# Create library file from sources.
3131
add_executable(${TARGET_NAME} ${MAIN_SRC} ${MAIN_HEADERS})
3232

33+
check_code_style(NAME ${TARGET_NAME}
34+
CLANG_FORMAT ${ENABLE_CLANG_FORMAT}
35+
CPPLINT ${ENABLE_CPPLINT})
36+
3337
set_target_properties(${TARGET_NAME} PROPERTIES COMPILE_PDB_NAME ${TARGET_NAME})
3438

3539
target_link_libraries(${TARGET_NAME} PRIVATE

demos/multi_channel_human_pose_estimation_demo/cpp/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ source_group("include" FILES ${MAIN_HEADERS})
3030
# Create library file from sources.
3131
add_executable(${TARGET_NAME} ${MAIN_SRC} ${MAIN_HEADERS})
3232

33+
check_code_style(NAME ${TARGET_NAME}
34+
CLANG_FORMAT ${ENABLE_CLANG_FORMAT}
35+
CPPLINT ${ENABLE_CPPLINT})
36+
3337
set_target_properties(${TARGET_NAME} PROPERTIES COMPILE_PDB_NAME ${TARGET_NAME})
3438

3539
target_link_libraries(${TARGET_NAME} PRIVATE

demos/multi_channel_object_detection_demo_yolov3/cpp/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ source_group("include" FILES ${MAIN_HEADERS})
3030
# Create library file from sources.
3131
add_executable(${TARGET_NAME} ${MAIN_SRC} ${MAIN_HEADERS})
3232

33+
check_code_style(NAME ${TARGET_NAME}
34+
CLANG_FORMAT ${ENABLE_CLANG_FORMAT}
35+
CPPLINT ${ENABLE_CPPLINT})
36+
3337
set_target_properties(${TARGET_NAME} PROPERTIES COMPILE_PDB_NAME ${TARGET_NAME})
3438

3539
target_link_libraries(${TARGET_NAME} PRIVATE

0 commit comments

Comments
 (0)