<commit_before>cmake_minimum_required(VERSION 2.6)

project(RGBD_RTK)

message(STATUS ">>> applications subdirectory")

add_executable(monocular_calibration monocular_calibration.cpp)
add_executable(monocular_image_grabber monocular_image_grabber.cpp)
add_executable(sequence_loader_test sequence_loader_test.cpp)
add_executable(rgbd_loader_test rgbd_loader_test.cpp)
add_executable(klt_tracker_test klt_tracker_test.cpp)
add_executable(motion_estimator_test motion_estimator_test.cpp)
add_executable(optical_flow_visual_odometry_test optical_flow_visual_odometry_test.cpp)
add_executable(icp_odometry_test icp_odometry_test.cpp)

set(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)

find_library(RGBD_RTK_IO NAMES rgbd_rtk_io)
find_library(RGBD_RTK_TRACKING NAMES rgbd_rtk_tracking)
find_library(RGBD_RTK_COMMON NAMES rgbd_rtk_common)
find_library(RGBD_RTK_VISUALIZATION NAMES rgbd_rtk_visualization)
find_library(RGBD_RTK_MOTION_ESTIMATION NAMES rgbd_rtk_motion_estimation)
find_library(RGBD_RTK_VISUAL_ODOMETRY NAMES rgbd_rtk_visual_odometry)

target_link_libraries(monocular_calibration ${OpenCV_LIBRARIES})
target_link_libraries(monocular_image_grabber ${OpenCV_LIBRARIES})
target_link_libraries(sequence_loader_test ${RGBD_RTK_IO})
target_link_libraries(rgbd_loader_test ${RGBD_RTK_IO})
target_link_libraries(klt_tracker_test ${RGBD_RTK_IO} ${RGBD_RTK_TRACKING})
target_link_libraries(motion_estimator_test  ${PCL_LIBRARIES} ${RGBD_RTK_IO} ${RGBD_RTK_TRACKING}
	                                         ${RGBD_RTK_COMMON} ${RGBD_RTK_VISUALIZATION}
	                                         ${RGBD_RTK_MOTION_ESTIMATION})
target_link_libraries(optical_flow_visual_odometry_test ${PCL_LIBRARIES} ${RGBD_RTK_IO} ${RGBD_RTK_TRACKING}
	                                                    ${RGBD_RTK_COMMON} ${RGBD_RTK_VISUALIZATION}
	                                                    ${RGBD_RTK_MOTION_ESTIMATION}
	                                                    ${RGBD_RTK_VISUAL_ODOMETRY})
target_link_libraries(icp_odometry_test ${PCL_LIBRARIES} ${RGBD_RTK_IO} ${RGBD_RTK_TRACKING}
	                                    ${RGBD_RTK_COMMON} ${RGBD_RTK_VISUALIZATION}
	                                    ${RGBD_RTK_MOTION_ESTIMATION}
	                                    ${RGBD_RTK_VISUAL_ODOMETRY})														

install(TARGETS monocular_calibration
	            monocular_image_grabber
	            sequence_loader_test
                rgbd_loader_test
                klt_tracker_test
                motion_estimator_test
                optical_flow_visual_odometry_test
				icp_odometry_test
        RUNTIME DESTINATION bin)

# Build SLAM related applications only if ARUCO was found
if(aruco_FOUND)
	add_executable(marker_finder_test marker_finder_test.cpp)
	find_library(RGBD_RTK_SLAM NAMES rgbd_rtk_slam)
	target_link_libraries(marker_finder_test ${PCL_LIBRARIES} ${RGBD_RTK_IO} ${RGBD_RTK_TRACKING}
										 ${RGBD_RTK_COMMON} ${RGBD_RTK_VISUALIZATION}
										 ${RGBD_RTK_MOTION_ESTIMATION}
										 ${RGBD_RTK_VISUAL_ODOMETRY}
										 ${RGBD_RTK_SLAM})
	install(TARGETS marker_finder_test
        RUNTIME DESTINATION bin)
endif()<commit_msg>Added missing file with modifications.<commit_after>cmake_minimum_required(VERSION 2.6)

project(RGBD_RTK)

message(STATUS ">>> applications subdirectory")

add_executable(monocular_calibration monocular_calibration.cpp)
add_executable(monocular_image_grabber monocular_image_grabber.cpp)
add_executable(sequence_loader_test sequence_loader_test.cpp)
add_executable(rgbd_loader_test rgbd_loader_test.cpp)
add_executable(klt_tracker_test klt_tracker_test.cpp)
add_executable(motion_estimator_test motion_estimator_test.cpp)
add_executable(optical_flow_visual_odometry_test optical_flow_visual_odometry_test.cpp)
add_executable(icp_odometry_test icp_odometry_test.cpp)
add_executable(kitti_velodyne_loader_test kitti_velodyne_loader_test.cpp)

set(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)

find_library(RGBD_RTK_IO NAMES rgbd_rtk_io)
find_library(RGBD_RTK_TRACKING NAMES rgbd_rtk_tracking)
find_library(RGBD_RTK_COMMON NAMES rgbd_rtk_common)
find_library(RGBD_RTK_VISUALIZATION NAMES rgbd_rtk_visualization)
find_library(RGBD_RTK_MOTION_ESTIMATION NAMES rgbd_rtk_motion_estimation)
find_library(RGBD_RTK_VISUAL_ODOMETRY NAMES rgbd_rtk_visual_odometry)

target_link_libraries(monocular_calibration ${OpenCV_LIBRARIES})
target_link_libraries(monocular_image_grabber ${OpenCV_LIBRARIES})
target_link_libraries(sequence_loader_test ${RGBD_RTK_IO})
target_link_libraries(rgbd_loader_test ${RGBD_RTK_IO})
target_link_libraries(klt_tracker_test ${RGBD_RTK_IO} ${RGBD_RTK_TRACKING})
target_link_libraries(motion_estimator_test  ${PCL_LIBRARIES} ${RGBD_RTK_IO}
                                             ${RGBD_RTK_TRACKING}
                                             ${RGBD_RTK_COMMON} ${RGBD_RTK_VISUALIZATION}
                                             ${RGBD_RTK_MOTION_ESTIMATION})
target_link_libraries(optical_flow_visual_odometry_test ${PCL_LIBRARIES} ${RGBD_RTK_IO}
                                                        ${RGBD_RTK_TRACKING}
                                                        ${RGBD_RTK_COMMON} ${RGBD_RTK_VISUALIZATION}
                                                        ${RGBD_RTK_MOTION_ESTIMATION}
                                                        ${RGBD_RTK_VISUAL_ODOMETRY})
target_link_libraries(icp_odometry_test ${PCL_LIBRARIES} ${RGBD_RTK_IO} ${RGBD_RTK_TRACKING}
                                        ${RGBD_RTK_COMMON} ${RGBD_RTK_VISUALIZATION}
                                        ${RGBD_RTK_MOTION_ESTIMATION}
                                        ${RGBD_RTK_VISUAL_ODOMETRY})
target_link_libraries(kitti_velodyne_loader_test ${PCL_LIBRARIES} ${RGBD_RTK_IO}
                                                 ${RGBD_RTK_VISUALIZATION})

install(TARGETS monocular_calibration
                monocular_image_grabber
                sequence_loader_test
                rgbd_loader_test
                klt_tracker_test
                motion_estimator_test
                optical_flow_visual_odometry_test
                icp_odometry_test
                kitti_velodyne_loader_test
        RUNTIME DESTINATION bin)

# Build SLAM related applications only if ARUCO was found
if(aruco_FOUND)
    add_executable(marker_finder_test marker_finder_test.cpp)
    find_library(RGBD_RTK_SLAM NAMES rgbd_rtk_slam)
    target_link_libraries(marker_finder_test ${PCL_LIBRARIES} ${RGBD_RTK_IO} ${RGBD_RTK_TRACKING}
                                         ${RGBD_RTK_COMMON} ${RGBD_RTK_VISUALIZATION}
                                         ${RGBD_RTK_MOTION_ESTIMATION}
                                         ${RGBD_RTK_VISUAL_ODOMETRY}
                                         ${RGBD_RTK_SLAM})
    install(TARGETS marker_finder_test RUNTIME DESTINATION bin)
endif()
{'fraction_non_alphanumeric': 0.0575529138880835, 'fraction_numerical': 0.0005798782255726297, 'mean_word_length': 3.151022864019254, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 40, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2944581', 'n_tokens_mistral': 2467, 'n_tokens_neox': 2303, 'n_words': 246}