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

## Find catkin macros and libraries
## if COMPONENTS list like find_package(catkin REQUIRED COMPONENTS xyz)
## is used, also find other catkin packages
find_package(catkin COMPONENTS roscpp csapex csapex_core_plugins rosbag tf pluginlib REQUIRED)

find_package(Qt5 COMPONENTS Core Gui Widgets REQUIRED)

catkin_package(
  INCLUDE_DIRS include
  LIBRARIES csapex_ros_core
  CATKIN_DEPENDS pluginlib
)

###########
## Build ##
###########

## Specify additional locations of header files
## Your package locations should be listed before other locations
include_directories(include ${catkin_INCLUDE_DIRS} ${Qt5Core_INCLUDE_DIRS} ${Qt5Widgets_INCLUDE_DIRS} ${Qt5Gui_INCLUDE_DIRS})

## booting
add_library(csapex_ros_boot
    src/ros_boot.cpp
)
target_link_libraries(csapex_ros_boot
  ${catkin_LIBRARIES}
)

add_custom_command(TARGET csapex_ros_boot POST_BUILD
    COMMAND mkdir -p ${CSAPEX_BOOT_PLUGIN_DIR} && ln -sf ${CATKIN_DEVEL_PREFIX}/lib/libcsapex_ros_boot.so ${CSAPEX_BOOT_PLUGIN_DIR}/libcsapex_ros_boot.so)

## extensions
add_library(csapex_ros_core
    src/ros_node.cpp
    src/ros_handler.cpp
    src/ros_message_conversion.cpp<commit_msg>forgotten<commit_after>cmake_minimum_required(VERSION 2.8.3)
project(csapex_ros)

## Find catkin macros and libraries
## if COMPONENTS list like find_package(catkin REQUIRED COMPONENTS xyz)
## is used, also find other catkin packages
find_package(catkin COMPONENTS roscpp csapex csapex_core_plugins rosbag tf pluginlib REQUIRED)

find_package(Qt5 COMPONENTS Core Gui Widgets REQUIRED)

catkin_package(
  INCLUDE_DIRS include
  LIBRARIES csapex_ros_core
  CATKIN_DEPENDS pluginlib
)

###########
## Build ##
###########

## Specify additional locations of header files
## Your package locations should be listed before other locations
include_directories(include ${catkin_INCLUDE_DIRS} ${Qt5Core_INCLUDE_DIRS} ${Qt5Widgets_INCLUDE_DIRS} ${Qt5Gui_INCLUDE_DIRS})

## booting
add_library(csapex_ros_boot
    src/ros_boot.cpp
)
target_link_libraries(csapex_ros_boot
  ${catkin_LIBRARIES}
)

add_custom_command(TARGET csapex_ros_boot POST_BUILD
    COMMAND mkdir -p ${CSAPEX_BOOT_PLUGIN_DIR} && ln -sf ${CATKIN_DEVEL_PREFIX}/lib/libcsapex_ros_boot.so ${CSAPEX_BOOT_PLUGIN_DIR}/libcsapex_ros_boot.so)

## extensions
add_library(csapex_ros_core
    src/generic_ros_message.cpp

    src/ros_node.cpp
    src/ros_handler.cpp
    src/ros_message_conversion.cpp
{'fraction_non_alphanumeric': 0.08829485621709195, 'fraction_numerical': 0.005670311867152693, 'mean_word_length': 6.791798107255521, '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': '2454903', 'n_tokens_mistral': 953, 'n_tokens_neox': 889, 'n_words': 174}