<commit_before>cmake_minimum_required(VERSION 2.8.3)
project(chatter_sender)

find_package(catkin REQUIRED COMPONENTS chatter_msgs roscpp rostest)

catkin_package()

include_directories(${catkin_INCLUDE_DIRS})

add_executable(chatter_sender src/chatter_sender.cpp)

add_dependencies(chatter_sender chatter_msgs_gencpp)

target_link_libraries(chatter_sender
   ${catkin_LIBRARIES}
)

if(CATKIN_ENABLE_TESTING)
  add_subdirectory(test)
endif()

install(TARGETS ${PROJECT_NAME}
   ARCHIVE DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
   LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
   RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
)<commit_msg>make rostest in CMakeLists optional (ros/rosdistro#3010)<commit_after>cmake_minimum_required(VERSION 2.8.3)
project(chatter_sender)

find_package(catkin REQUIRED COMPONENTS chatter_msgs roscpp)

catkin_package()

include_directories(${catkin_INCLUDE_DIRS})

add_executable(chatter_sender src/chatter_sender.cpp)

add_dependencies(chatter_sender chatter_msgs_gencpp)

target_link_libraries(chatter_sender
   ${catkin_LIBRARIES}
)

if(CATKIN_ENABLE_TESTING)
  find_package(rostest)
  add_subdirectory(test)
endif()

install(TARGETS ${PROJECT_NAME}
   ARCHIVE DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
   LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
   RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
)
{'fraction_non_alphanumeric': 0.07552650689905592, 'fraction_numerical': 0.007262164124909223, 'mean_word_length': 10.024, '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': '3803045', 'n_tokens_mistral': 564, 'n_tokens_neox': 520, 'n_words': 67}