<commit_before>cmake_minimum_required (VERSION 2.8.3)
project (dubins_traffic_utils)
add_compile_options (-std=c++11)

include_directories (include)

find_package (Eigen3 REQUIRED)
include_directories (${EIGEN3_INCLUDE_DIR})

if (CATKIN_ENV)
  message (STATUS "Building for ROS")

  add_executable (monitor src/monitor.cpp)
  add_executable (maestro src/maestro.cpp)

  find_package (catkin REQUIRED roscpp geometry_msgs gazebo_msgs std_srvs integrator_chains_msgs dubins_traffic_msgs)
  catkin_package (INCLUDE_DIRS include)

  include_directories (include ${catkin_INCLUDE_DIRS})
  target_link_libraries (monitor ${catkin_LIBRARIES})
  target_link_libraries (maestro ${catkin_LIBRARIES})
  install (TARGETS monitor maestro
    RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
  )

  install (DIRECTORY include/
    DESTINATION ${CATKIN_PACKAGE_INCLUDE_DESTINATION}
    FILES_MATCHING PATTERN "*.hpp"
  )

  install (FILES examples/data/square.rnd examples/data/square.json
    DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/examples/data
  )
  install (DIRECTORY examples/trialsconf<commit_msg>BUILD: Add dependency of dubins_traffic on msgs ROS packages<commit_after>cmake_minimum_required (VERSION 2.8.3)
project (dubins_traffic_utils)
add_compile_options (-std=c++11)

include_directories (include)

find_package (Eigen3 REQUIRED)
include_directories (${EIGEN3_INCLUDE_DIR})

if (CATKIN_ENV)
  message (STATUS "Building for ROS")

  add_executable (monitor src/monitor.cpp)
  add_executable (maestro src/maestro.cpp)

  find_package (catkin REQUIRED roscpp geometry_msgs gazebo_msgs std_srvs integrator_chains_msgs dubins_traffic_msgs)
  catkin_package (INCLUDE_DIRS include)

  add_dependencies (monitor integrator_chains_msgs_generate_messages_cpp dubins_traffic_msgs_generate_messages_cpp)
  add_dependencies (maestro integrator_chains_msgs_generate_messages_cpp dubins_traffic_msgs_generate_messages_cpp)

  include_directories (include ${catkin_INCLUDE_DIRS})
  target_link_libraries (monitor ${catkin_LIBRARIES})
  target_link_libraries (maestro ${catkin_LIBRARIES})
  install (TARGETS monitor maestro
    RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
  )

  install (DIRECTORY include/
    DESTINATION ${CATKIN_PACKAGE_INCLUDE_DESTINATION}
    FILES_MATCHING PATTERN "*.hpp"
  )

  install (FILES examples/data/square.rnd examples/data/square.json
    DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/examples/data
  )
  install (DIRECTORY examples/trialsconf
{'fraction_non_alphanumeric': 0.07206119162640902, 'fraction_numerical': 0.005636070853462158, 'mean_word_length': 6.914012738853503, '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': '3016853', 'n_tokens_mistral': 928, 'n_tokens_neox': 860, 'n_words': 159}