134 lines
4.1 KiB
CMake
134 lines
4.1 KiB
CMake
|
# generated from genmsg/cmake/pkg-genmsg.cmake.em
|
||
|
|
||
|
message(STATUS "videostream: 0 messages, 1 services")
|
||
|
|
||
|
set(MSG_I_FLAGS "-Istd_msgs:/opt/ros/hydro/share/std_msgs/cmake/../msg")
|
||
|
|
||
|
# Find all generators
|
||
|
find_package(gencpp REQUIRED)
|
||
|
find_package(genlisp REQUIRED)
|
||
|
find_package(genpy REQUIRED)
|
||
|
|
||
|
add_custom_target(videostream_generate_messages ALL)
|
||
|
|
||
|
#
|
||
|
# langs = gencpp;genlisp;genpy
|
||
|
#
|
||
|
|
||
|
### Section generating for lang: gencpp
|
||
|
### Generating Messages
|
||
|
|
||
|
### Generating Services
|
||
|
_generate_srv_cpp(videostream
|
||
|
"/home/lab1_5/ws/ws_linux/src/videostream/srv/ip_get.srv"
|
||
|
"${MSG_I_FLAGS}"
|
||
|
""
|
||
|
${CATKIN_DEVEL_PREFIX}/${gencpp_INSTALL_DIR}/videostream
|
||
|
)
|
||
|
|
||
|
### Generating Module File
|
||
|
_generate_module_cpp(videostream
|
||
|
${CATKIN_DEVEL_PREFIX}/${gencpp_INSTALL_DIR}/videostream
|
||
|
"${ALL_GEN_OUTPUT_FILES_cpp}"
|
||
|
)
|
||
|
|
||
|
add_custom_target(videostream_generate_messages_cpp
|
||
|
DEPENDS ${ALL_GEN_OUTPUT_FILES_cpp}
|
||
|
)
|
||
|
add_dependencies(videostream_generate_messages videostream_generate_messages_cpp)
|
||
|
|
||
|
# target for backward compatibility
|
||
|
add_custom_target(videostream_gencpp)
|
||
|
add_dependencies(videostream_gencpp videostream_generate_messages_cpp)
|
||
|
|
||
|
# register target for catkin_package(EXPORTED_TARGETS)
|
||
|
list(APPEND ${PROJECT_NAME}_EXPORTED_TARGETS videostream_generate_messages_cpp)
|
||
|
|
||
|
### Section generating for lang: genlisp
|
||
|
### Generating Messages
|
||
|
|
||
|
### Generating Services
|
||
|
_generate_srv_lisp(videostream
|
||
|
"/home/lab1_5/ws/ws_linux/src/videostream/srv/ip_get.srv"
|
||
|
"${MSG_I_FLAGS}"
|
||
|
""
|
||
|
${CATKIN_DEVEL_PREFIX}/${genlisp_INSTALL_DIR}/videostream
|
||
|
)
|
||
|
|
||
|
### Generating Module File
|
||
|
_generate_module_lisp(videostream
|
||
|
${CATKIN_DEVEL_PREFIX}/${genlisp_INSTALL_DIR}/videostream
|
||
|
"${ALL_GEN_OUTPUT_FILES_lisp}"
|
||
|
)
|
||
|
|
||
|
add_custom_target(videostream_generate_messages_lisp
|
||
|
DEPENDS ${ALL_GEN_OUTPUT_FILES_lisp}
|
||
|
)
|
||
|
add_dependencies(videostream_generate_messages videostream_generate_messages_lisp)
|
||
|
|
||
|
# target for backward compatibility
|
||
|
add_custom_target(videostream_genlisp)
|
||
|
add_dependencies(videostream_genlisp videostream_generate_messages_lisp)
|
||
|
|
||
|
# register target for catkin_package(EXPORTED_TARGETS)
|
||
|
list(APPEND ${PROJECT_NAME}_EXPORTED_TARGETS videostream_generate_messages_lisp)
|
||
|
|
||
|
### Section generating for lang: genpy
|
||
|
### Generating Messages
|
||
|
|
||
|
### Generating Services
|
||
|
_generate_srv_py(videostream
|
||
|
"/home/lab1_5/ws/ws_linux/src/videostream/srv/ip_get.srv"
|
||
|
"${MSG_I_FLAGS}"
|
||
|
""
|
||
|
${CATKIN_DEVEL_PREFIX}/${genpy_INSTALL_DIR}/videostream
|
||
|
)
|
||
|
|
||
|
### Generating Module File
|
||
|
_generate_module_py(videostream
|
||
|
${CATKIN_DEVEL_PREFIX}/${genpy_INSTALL_DIR}/videostream
|
||
|
"${ALL_GEN_OUTPUT_FILES_py}"
|
||
|
)
|
||
|
|
||
|
add_custom_target(videostream_generate_messages_py
|
||
|
DEPENDS ${ALL_GEN_OUTPUT_FILES_py}
|
||
|
)
|
||
|
add_dependencies(videostream_generate_messages videostream_generate_messages_py)
|
||
|
|
||
|
# target for backward compatibility
|
||
|
add_custom_target(videostream_genpy)
|
||
|
add_dependencies(videostream_genpy videostream_generate_messages_py)
|
||
|
|
||
|
# register target for catkin_package(EXPORTED_TARGETS)
|
||
|
list(APPEND ${PROJECT_NAME}_EXPORTED_TARGETS videostream_generate_messages_py)
|
||
|
|
||
|
|
||
|
|
||
|
if(gencpp_INSTALL_DIR AND EXISTS ${CATKIN_DEVEL_PREFIX}/${gencpp_INSTALL_DIR}/videostream)
|
||
|
# install generated code
|
||
|
install(
|
||
|
DIRECTORY ${CATKIN_DEVEL_PREFIX}/${gencpp_INSTALL_DIR}/videostream
|
||
|
DESTINATION ${gencpp_INSTALL_DIR}
|
||
|
)
|
||
|
endif()
|
||
|
add_dependencies(videostream_generate_messages_cpp std_msgs_generate_messages_cpp)
|
||
|
|
||
|
if(genlisp_INSTALL_DIR AND EXISTS ${CATKIN_DEVEL_PREFIX}/${genlisp_INSTALL_DIR}/videostream)
|
||
|
# install generated code
|
||
|
install(
|
||
|
DIRECTORY ${CATKIN_DEVEL_PREFIX}/${genlisp_INSTALL_DIR}/videostream
|
||
|
DESTINATION ${genlisp_INSTALL_DIR}
|
||
|
)
|
||
|
endif()
|
||
|
add_dependencies(videostream_generate_messages_lisp std_msgs_generate_messages_lisp)
|
||
|
|
||
|
if(genpy_INSTALL_DIR AND EXISTS ${CATKIN_DEVEL_PREFIX}/${genpy_INSTALL_DIR}/videostream)
|
||
|
install(CODE "execute_process(COMMAND \"/usr/bin/python\" -m compileall \"${CATKIN_DEVEL_PREFIX}/${genpy_INSTALL_DIR}/videostream\")")
|
||
|
# install generated code
|
||
|
install(
|
||
|
DIRECTORY ${CATKIN_DEVEL_PREFIX}/${genpy_INSTALL_DIR}/videostream
|
||
|
DESTINATION ${genpy_INSTALL_DIR}
|
||
|
)
|
||
|
endif()
|
||
|
add_dependencies(videostream_generate_messages_py std_msgs_generate_messages_py)
|