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

find_package(catkin REQUIRED
  COMPONENTS
    pcl_conversions
    pcl_msgs
    rosconsole
    roscpp
    sensor_msgs
)

find_package(PCL REQUIRED)
find_package(Sweep REQUIRED)
find_package(Threads REQUIRED)

set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99 -Wall -Wextra")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall -Wextra")

include_directories(
  ${catkin_INCLUDE_DIRS}
  ${PCL_INCLUDE_DIRS}
)

## Add link directories
link_directories(
  ${PCL_LIBRARY_DIRS}
)

catkin_package(
  CATKIN_DEPENDS sensor_msgs
)

add_executable(sweep_node src/node.cpp)

target_link_libraries(sweep_node ${catkin_LIBRARIES} ${LIBSWEEP_LIBRARY})

target_include_directories(sweep_node SYSTEM PRIVATE ${LIBSWEEP_INCLUDE_DIR})<commit_msg>Upate CMakeLists.txt file to compile on Ubuntu 20.04<commit_after>cmake_minimum_required(VERSION 2.8.3)
project(sweep_ros)

find_package(catkin REQUIRED
  COMPONENTS
    pcl_conversions
    pcl_msgs
    rosconsole
    roscpp
    sensor_msgs
)

find_package(PCL REQUIRED)
find_package(Sweep REQUIRED)
find_package(Threads REQUIRED)

set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99 -Wall -Wextra")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14 -Wall -Wextra")

include_directories(
  ${catkin_INCLUDE_DIRS}
  ${PCL_INCLUDE_DIRS}
)

## Add link directories
link_directories(
  ${PCL_LIBRARY_DIRS}
)

catkin_package(
  CATKIN_DEPENDS sensor_msgs
)

add_executable(sweep_node src/node.cpp)

target_link_libraries(sweep_node ${catkin_LIBRARIES} ${LIBSWEEP_LIBRARY})

target_include_directories(sweep_node SYSTEM PRIVATE ${LIBSWEEP_INCLUDE_DIR})
{'fraction_non_alphanumeric': 0.09262644728823888, 'fraction_numerical': 0.010968921389396709, 'mean_word_length': 6.819047619047619, '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': '2678403', 'n_tokens_mistral': 736, 'n_tokens_neox': 660, 'n_words': 100}