<commit_before>cmake_minimum_required(VERSION 2.4.6)
include($ENV{ROS_ROOT}/core/rosbuild/rosbuild.cmake)

rosbuild_init()

#set the default path for built executables to the "bin" directory
set(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin)
#set the default path for built libraries to the "lib" directory
set(LIBRARY_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/lib)

#common commands for building c++ executables and libraries
rosbuild_add_library(${PROJECT_NAME} src/OMPLPlannersMain.cpp src/OMPLPlannerRRTConnect.cpp src/OMPLPlannerParametersRRTConnect.cpp)
#target_link_libraries(${PROJECT_NAME} another_library)
#rosbuild_add_boost_directories()
#rosbuild_link_boost(${PROJECT_NAME} thread)
#rosbuild_add_executable(example examples/example.cpp)
#target_link_libraries(example ${PROJECT_NAME})

target_link_libraries(${PROJECT_NAME} ompl)

# UNIT TESTING
#SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pthread")
rosbuild_add_gtest(test/unit_tests test/UnitTests.cpp test/PluginTests.cpp test/RRTConnectParameters.cpp test/RRTConnectPlanner.cpp)
target_link_libraries(test/unit_tests ompl ${PROJECT_NAME})
<commit_msg>Building second library without plugin definition because that screwed up OpenRAVE-initialization.<commit_after>cmake_minimum_required(VERSION 2.4.6)
include($ENV{ROS_ROOT}/core/rosbuild/rosbuild.cmake)

rosbuild_init()

#set the default path for built executables to the "bin" directory
set(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin)
#set the default path for built libraries to the "lib" directory
set(LIBRARY_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/lib)

#common commands for building c++ executables and libraries
rosbuild_add_library(${PROJECT_NAME} src/OMPLPlannersMain.cpp src/OMPLPlannerRRTConnect.cpp src/OMPLPlannerParametersRRTConnect.cpp)

rosbuild_add_library(NO_PLUGIN src/OMPLPlannerRRTConnect.cpp src/OMPLPlannerParametersRRTConnect.cpp)
#target_link_libraries(${PROJECT_NAME} another_library)
#rosbuild_add_boost_directories()
#rosbuild_link_boost(${PROJECT_NAME} thread)
#rosbuild_add_executable(example examples/example.cpp)
#target_link_libraries(example ${PROJECT_NAME})

target_link_libraries(${PROJECT_NAME} ompl)

# UNIT TESTING
#SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pthread")
rosbuild_add_gtest(test/unit_tests test/UnitTests.cpp test/PluginTests.cpp test/RRTConnectParameters.cpp test/RRTConnectPlanner.cpp)
target_link_libraries(test/unit_tests ompl NO_PLUGIN)

{'fraction_non_alphanumeric': 0.09193011647254576, 'fraction_numerical': 0.0024958402662229617, 'mean_word_length': 9.981735159817351, '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': '3611306', 'n_tokens_mistral': 828, 'n_tokens_neox': 801, 'n_words': 145}