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

include_directories (include)

find_package (Boost REQUIRED COMPONENTS thread)
include_directories (${Boost_INCLUDE_DIRS})

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

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

  add_executable (log src/log.cpp)
  add_executable (dm src/main.cpp)
  target_link_libraries (dm ${Boost_LIBRARIES})

  add_definitions (-DUSE_ROS)
  find_package (catkin REQUIRED COMPONENTS roscpp tf integrator_chains_msgs)

  catkin_package ()
  include_directories (include ${catkin_INCLUDE_DIRS})
  target_link_libraries (log ${catkin_LIBRARIES})
  target_link_libraries (dm ${catkin_LIBRARIES})<commit_msg>fixes so "catkin_make" won't error out (otherwise complains about .h files not existing)<commit_after>cmake_minimum_required (VERSION 2.8.3)
project (dynamaestro)
add_compile_options (-std=c++11)

include_directories (include)

find_package (Boost REQUIRED COMPONENTS thread)
include_directories (${Boost_INCLUDE_DIRS})

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

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

  add_executable (log src/log.cpp)
  add_executable (dm src/main.cpp)
  target_link_libraries (dm ${Boost_LIBRARIES})

  add_definitions (-DUSE_ROS)
  find_package (catkin REQUIRED COMPONENTS roscpp tf integrator_chains_msgs)

  catkin_package ()
  add_dependencies (log integrator_chains_msgs_generate_messages_cpp)
  add_dependencies (dm integrator_chains_msgs_generate_messages_cpp)
  include_directories (include ${catkin_INCLUDE_DIRS})
  target_link_libraries (log ${catkin_LIBRARIES})
  target_link_libraries (dm ${catkin_LIBRARIES})
{'fraction_non_alphanumeric': 0.08710407239819004, 'fraction_numerical': 0.007918552036199095, 'mean_word_length': 7.587378640776699, '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': '3866209', 'n_tokens_mistral': 672, 'n_tokens_neox': 613, 'n_words': 129}