<commit_before>cmake_minimum_required(VERSION 2.8.3)

project(ros_middleware_opensplice_cpp)

find_package(ament_cmake REQUIRED)
find_package(ros_middleware_interface REQUIRED)
find_package(rosidl_generator_cpp REQUIRED)
find_package(rosidl_typesupport_opensplice_cpp REQUIRED)

find_package(opensplice REQUIRED COMPONENTS CXX)

message("OPENSPLICE_DEFINITIONS ${OPENSPLICE_DEFINITIONS}")
message("OPENSPLICE_INCLUDE_DIRS ${OPENSPLICE_INCLUDE_DIRS}")
message("OPENSPLICE_LIBRARIES ${OPENSPLICE_LIBRARIES}")
ament_export_definitions(${OPENSPLICE_DEFINITIONS})
ament_export_dependencies(ros_middleware_interface rosidl_generator_cpp rosidl_typesupport_opensplice_cpp)
ament_export_include_directories(include include/${PROJECT_NAME}/impl ${OPENSPLICE_INCLUDE_DIRS})
ament_export_libraries(ros_middleware_opensplice_cpp dl pthread)

register_ros_middleware_implementation()

ament_package()

include_directories(include ${ros_middleware_interface_INCLUDE_DIRS} ${rosidl_generator_cpp_INCLUDE_DIRS} ${rosidl_typesupport_opensplice_cpp_INCLUDE_DIRS} ${OPENSPLICE_INCLUDE_DIRS})
add_definitions(${OPENSPLICE_DEFINITIONS})
add_library(ros_middleware_opensplice_cpp SHARED src/functions.cpp)
target_link_libraries(ros_middleware_opensplice_cpp ${std_msgs_LIBRARIES} ${rosidl_typesupport_opensplice_cpp_LIBRARIES} ${OPENSPLICE_LIBRARIES})

install(
  DIRECTORY include/
  DESTINATION include
)
install(
  TARGETS ros_middleware_opensplice_cpp
  LIBRARY DESTINATION lib
  ARCHIVE DESTINATION lib
)<commit_msg>remove unnecessary reference to std_msgs<commit_after>cmake_minimum_required(VERSION 2.8.3)

project(ros_middleware_opensplice_cpp)

find_package(ament_cmake REQUIRED)
find_package(ros_middleware_interface REQUIRED)
find_package(rosidl_generator_cpp REQUIRED)
find_package(rosidl_typesupport_opensplice_cpp REQUIRED)

find_package(opensplice REQUIRED COMPONENTS CXX)

message("OPENSPLICE_DEFINITIONS ${OPENSPLICE_DEFINITIONS}")
message("OPENSPLICE_INCLUDE_DIRS ${OPENSPLICE_INCLUDE_DIRS}")
message("OPENSPLICE_LIBRARIES ${OPENSPLICE_LIBRARIES}")
ament_export_definitions(${OPENSPLICE_DEFINITIONS})
ament_export_dependencies(ros_middleware_interface rosidl_generator_cpp rosidl_typesupport_opensplice_cpp)
ament_export_include_directories(include include/${PROJECT_NAME}/impl ${OPENSPLICE_INCLUDE_DIRS})
ament_export_libraries(ros_middleware_opensplice_cpp dl pthread)

register_ros_middleware_implementation()

ament_package()

include_directories(include ${ros_middleware_interface_INCLUDE_DIRS} ${rosidl_generator_cpp_INCLUDE_DIRS} ${rosidl_typesupport_opensplice_cpp_INCLUDE_DIRS} ${OPENSPLICE_INCLUDE_DIRS})
add_definitions(${OPENSPLICE_DEFINITIONS})
add_library(ros_middleware_opensplice_cpp SHARED src/functions.cpp)
target_link_libraries(ros_middleware_opensplice_cpp ${rosidl_typesupport_opensplice_cpp_LIBRARIES} ${OPENSPLICE_LIBRARIES})

install(
  DIRECTORY include/
  DESTINATION include
)
install(
  TARGETS ros_middleware_opensplice_cpp
  LIBRARY DESTINATION lib
  ARCHIVE DESTINATION lib
)
{'fraction_non_alphanumeric': 0.06693306693306693, 'fraction_numerical': 0.001998001998001998, 'mean_word_length': 16.068181818181817, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5386002', 'n_tokens_mistral': 1123, 'n_tokens_neox': 1062, 'n_words': 123}