Skip to content
This repository has been archived by the owner on Aug 7, 2024. It is now read-only.

Skip compiler just for build success [issue #136] #137

Merged
merged 2 commits into from
Mar 15, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
204 changes: 102 additions & 102 deletions sample/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -97,78 +97,78 @@ endif()

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")

add_executable(pipeline_with_params
src/pipeline_with_params.cpp
)

add_dependencies(pipeline_with_params
${${PROJECT_NAME}_EXPORTED_TARGETS}
${catkin_EXPORTED_TARGETS}
${dynamic_vino_lib_TARGETS}
)

target_link_libraries(pipeline_with_params
${catkin_LIBRARIES}
gflags
${vino_param_lib_LIBRARIES}
${InferenceEngine_LIBRARIES}
${OpenCV_LIBRARIES}
)

add_executable(image_people_server
src/image_people_server.cpp
)

add_dependencies(image_people_server
${${PROJECT_NAME}_EXPORTED_TARGETS}
${catkin_EXPORTED_TARGETS}
${dynamic_vino_lib_TARGETS}
)

target_link_libraries(image_people_server
${catkin_LIBRARIES}
gflags
${vino_param_lib_LIBRARIES}
${InferenceEngine_LIBRARIES}
${OpenCV_LIBRARIES}
)


add_executable(image_people_client
src/image_people_client.cpp
)

add_dependencies(image_people_client
${${PROJECT_NAME}_EXPORTED_TARGETS}
${catkin_EXPORTED_TARGETS}
${dynamic_vino_lib_TARGETS}
)

target_link_libraries(image_people_client
${catkin_LIBRARIES}
gflags
${vino_param_lib_LIBRARIES}
${InferenceEngine_LIBRARIES}
${OpenCV_LIBRARIES}
)

add_executable(image_object_server
src/image_object_server.cpp
)

add_dependencies(image_object_server
${${PROJECT_NAME}_EXPORTED_TARGETS}
${catkin_EXPORTED_TARGETS}
${dynamic_vino_lib_TARGETS}
)

target_link_libraries(image_object_server
${catkin_LIBRARIES}
gflags
${vino_param_lib_LIBRARIES}
${InferenceEngine_LIBRARIES}
${OpenCV_LIBRARIES}
)
# add_executable(pipeline_with_params
# src/pipeline_with_params.cpp
# )

# add_dependencies(pipeline_with_params
# ${${PROJECT_NAME}_EXPORTED_TARGETS}
# ${catkin_EXPORTED_TARGETS}
# ${dynamic_vino_lib_TARGETS}
# )

# target_link_libraries(pipeline_with_params
# ${catkin_LIBRARIES}
# gflags
# ${vino_param_lib_LIBRARIES}
# ${InferenceEngine_LIBRARIES}
# ${OpenCV_LIBRARIES}
# )

# add_executable(image_people_server
# src/image_people_server.cpp
# )

# add_dependencies(image_people_server
# ${${PROJECT_NAME}_EXPORTED_TARGETS}
# ${catkin_EXPORTED_TARGETS}
# ${dynamic_vino_lib_TARGETS}
# )

# target_link_libraries(image_people_server
# ${catkin_LIBRARIES}
# gflags
# ${vino_param_lib_LIBRARIES}
# ${InferenceEngine_LIBRARIES}
# ${OpenCV_LIBRARIES}
# )


# add_executable(image_people_client
# src/image_people_client.cpp
# )

# add_dependencies(image_people_client
# ${${PROJECT_NAME}_EXPORTED_TARGETS}
# ${catkin_EXPORTED_TARGETS}
# ${dynamic_vino_lib_TARGETS}
# )

# target_link_libraries(image_people_client
# ${catkin_LIBRARIES}
# gflags
# ${vino_param_lib_LIBRARIES}
# ${InferenceEngine_LIBRARIES}
# ${OpenCV_LIBRARIES}
# )

# add_executable(image_object_server
# src/image_object_server.cpp
# )

# add_dependencies(image_object_server
# ${${PROJECT_NAME}_EXPORTED_TARGETS}
# ${catkin_EXPORTED_TARGETS}
# ${dynamic_vino_lib_TARGETS}
# )

# target_link_libraries(image_object_server
# ${catkin_LIBRARIES}
# gflags
# ${vino_param_lib_LIBRARIES}
# ${InferenceEngine_LIBRARIES}
# ${OpenCV_LIBRARIES}
# )


add_executable(image_object_client
Expand Down Expand Up @@ -208,23 +208,23 @@ target_link_libraries(image_segmentation_client
${OpenCV_LIBRARIES}
)

add_executable(image_segmentation_server
src/image_segmentation_server.cpp
)
# add_executable(image_segmentation_server
# src/image_segmentation_server.cpp
# )

add_dependencies(image_segmentation_server
${${PROJECT_NAME}_EXPORTED_TARGETS}
${catkin_EXPORTED_TARGETS}
${dynamic_vino_lib_TARGETS}
)
# add_dependencies(image_segmentation_server
# ${${PROJECT_NAME}_EXPORTED_TARGETS}
# ${catkin_EXPORTED_TARGETS}
# ${dynamic_vino_lib_TARGETS}
# )

target_link_libraries(image_segmentation_server
${catkin_LIBRARIES}
gflags
${vino_param_lib_LIBRARIES}
${InferenceEngine_LIBRARIES}
${OpenCV_LIBRARIES}
)
# target_link_libraries(image_segmentation_server
# ${catkin_LIBRARIES}
# gflags
# ${vino_param_lib_LIBRARIES}
# ${InferenceEngine_LIBRARIES}
# ${OpenCV_LIBRARIES}
# )


add_executable(image_reidentification_client
Expand All @@ -245,23 +245,23 @@ target_link_libraries(image_reidentification_client
${OpenCV_LIBRARIES}
)

add_executable(image_reidentification_server
src/image_reidentification_server.cpp
)
# add_executable(image_reidentification_server
# src/image_reidentification_server.cpp
# )

add_dependencies(image_reidentification_server
${${PROJECT_NAME}_EXPORTED_TARGETS}
${catkin_EXPORTED_TARGETS}
${dynamic_vino_lib_TARGETS}
)
# add_dependencies(image_reidentification_server
# ${${PROJECT_NAME}_EXPORTED_TARGETS}
# ${catkin_EXPORTED_TARGETS}
# ${dynamic_vino_lib_TARGETS}
# )

target_link_libraries(image_reidentification_server
${catkin_LIBRARIES}
gflags
${vino_param_lib_LIBRARIES}
${InferenceEngine_LIBRARIES}
${OpenCV_LIBRARIES}
)
# target_link_libraries(image_reidentification_server
# ${catkin_LIBRARIES}
# gflags
# ${vino_param_lib_LIBRARIES}
# ${InferenceEngine_LIBRARIES}
# ${OpenCV_LIBRARIES}
# )

add_executable(pipeline_service_client
src/pipeline_service_client.cpp
Expand Down