cmake_minimum_required(VERSION 3.15)
project(CT_project)

set(CMAKE_CXX_STANDARD 14)

include_directories(plc调度节点/communication)
include_directories(plc调度节点/dispatch)
include_directories(plc调度节点/error_code)
include_directories(plc调度节点/message)
include_directories(plc调度节点/rabbitmq)
include_directories(plc调度节点/snap7_communication)
include_directories(plc调度节点/system)
include_directories(plc调度节点/task)
include_directories(plc调度节点/tool)
include_directories(plc调度节点/tool/TaskQueue)
include_directories(plc调度节点/tool/TaskQueue/threadpp)
include_directories(plc调度节点/tool/TaskQueue/threadpp/impl)
include_directories(测量节点/communication)
include_directories(测量节点/error_code)
include_directories(测量节点/message)
include_directories(测量节点/rabbitmq)
include_directories(测量节点/system)
include_directories(测量节点/task)
include_directories(测量节点/tool)
include_directories(测量节点/tool/TaskQueue)
include_directories(测量节点/tool/TaskQueue/threadpp)
include_directories(测量节点/tool/TaskQueue/threadpp/impl)
include_directories(测量节点/velodyne_lidar)
include_directories(测量节点/velodyne_lidar/match3d)
include_directories(测量节点/velodyne_lidar/match3d/common)
include_directories(测量节点/velodyne_lidar/velodyne_driver)
include_directories(测量节点/verify)
include_directories(测量节点/wanji_lidar)

add_executable(CT_project
        plc调度节点/communication/communication.pb.cc
        plc调度节点/communication/communication.pb.h
        plc调度节点/communication/communication_message.cpp
        plc调度节点/communication/communication_message.h
        plc调度节点/communication/communication_socket_base.cpp
        plc调度节点/communication/communication_socket_base.h
        plc调度节点/dispatch/database_communication_configuration.pb.cc
        plc调度节点/dispatch/database_communication_configuration.pb.h
        plc调度节点/dispatch/database_controller.cpp
        plc调度节点/dispatch/database_controller.h
        plc调度节点/dispatch/dispatch_command.cpp
        plc调度节点/dispatch/dispatch_command.h
        plc调度节点/dispatch/dispatch_communication.cpp
        plc调度节点/dispatch/dispatch_communication.h
        plc调度节点/dispatch/dispatch_coordinates.cpp
        plc调度节点/dispatch/dispatch_coordinates.h
        plc调度节点/dispatch/dispatch_ground_lidar.cpp
        plc调度节点/dispatch/dispatch_ground_lidar.h
        plc调度节点/dispatch/dispatch_manager.cpp
        plc调度节点/dispatch/dispatch_manager.h
        plc调度节点/dispatch/dispatch_parameter.pb.cc
        plc调度节点/dispatch/dispatch_parameter.pb.h
        plc调度节点/dispatch/dispatch_plc.cpp
        plc调度节点/dispatch/dispatch_plc.h
        plc调度节点/dispatch/dispatch_singlechip.cpp
        plc调度节点/dispatch/dispatch_singlechip.h
        plc调度节点/error_code/error_code.cpp
        plc调度节点/error_code/error_code.h
        plc调度节点/message/message.pb.cc
        plc调度节点/message/message.pb.h
        plc调度节点/message/message_base.pb.cc
        plc调度节点/message/message_base.pb.h
        plc调度节点/rabbitmq/rabbitmq.pb.cc
        plc调度节点/rabbitmq/rabbitmq.pb.h
        plc调度节点/rabbitmq/rabbitmq_base.cpp
        plc调度节点/rabbitmq/rabbitmq_base.h
        plc调度节点/rabbitmq/rabbitmq_message.cpp
        plc调度节点/rabbitmq/rabbitmq_message.h
        plc调度节点/rabbitmq/ttt.cpp
        plc调度节点/rabbitmq/ttt.h
        plc调度节点/snap7_communication/plc_data.cpp
        plc调度节点/snap7_communication/plc_data.h
        plc调度节点/snap7_communication/s7_plc.cpp
        plc调度节点/snap7_communication/s7_plc.h
        plc调度节点/snap7_communication/snap7_buf.cpp
        plc调度节点/snap7_communication/snap7_buf.h
        plc调度节点/snap7_communication/snap7_communication.pb.cc
        plc调度节点/snap7_communication/snap7_communication.pb.h
        plc调度节点/snap7_communication/snap7_communication_base.cpp
        plc调度节点/snap7_communication/snap7_communication_base.h
        plc调度节点/system/system_communication.cpp
        plc调度节点/system/system_communication.h
        plc调度节点/system/system_executor.cpp
        plc调度节点/system/system_executor.h
        plc调度节点/task/task_base.cpp
        plc调度节点/task/task_base.h
        plc调度节点/task/task_command_manager.cpp
        plc调度节点/task/task_command_manager.h
        plc调度节点/tool/TaskQueue/threadpp/impl/pthread_lock.h
        plc调度节点/tool/TaskQueue/threadpp/impl/pthread_lock.hpp
        plc调度节点/tool/TaskQueue/threadpp/impl/pthread_thread.h
        plc调度节点/tool/TaskQueue/threadpp/impl/pthread_thread.hpp
        plc调度节点/tool/TaskQueue/threadpp/impl/std_lock.h
        plc调度节点/tool/TaskQueue/threadpp/impl/std_lock.hpp
        plc调度节点/tool/TaskQueue/threadpp/impl/std_thread.h
        plc调度节点/tool/TaskQueue/threadpp/impl/std_thread.hpp
        plc调度节点/tool/TaskQueue/threadpp/impl/win_lock.h
        plc调度节点/tool/TaskQueue/threadpp/impl/win_lock.hpp
        plc调度节点/tool/TaskQueue/threadpp/impl/win_thread.h
        plc调度节点/tool/TaskQueue/threadpp/impl/win_thread.hpp
        plc调度节点/tool/TaskQueue/threadpp/recursive_lock.h
        plc调度节点/tool/TaskQueue/threadpp/threadpp.h
        plc调度节点/tool/TaskQueue/threadpp/threadpp_assert.h
        plc调度节点/tool/TaskQueue/BaseTask.cpp
        plc调度节点/tool/TaskQueue/BaseTask.h
        plc调度节点/tool/TaskQueue/TaskPool.h
        plc调度节点/tool/TaskQueue/ThreadTaskQueue.cpp
        plc调度节点/tool/TaskQueue/ThreadTaskQueue.h
        plc调度节点/tool/TaskQueue/TQFactory.cpp
        plc调度节点/tool/TaskQueue/TQFactory.h
        plc调度节点/tool/TaskQueue/TQInterface.h
        plc调度节点/tool/binary_buf.cpp
        plc调度节点/tool/binary_buf.h
        plc调度节点/tool/common_data.cpp
        plc调度节点/tool/common_data.h
        plc调度节点/tool/measure_filter.h
        plc调度节点/tool/pathcreator.cpp
        plc调度节点/tool/pathcreator.h
        plc调度节点/tool/pcl_cloud_with_lock.cpp
        plc调度节点/tool/pcl_cloud_with_lock.h
        plc调度节点/tool/point2D_tool.cpp
        plc调度节点/tool/point2D_tool.h
        plc调度节点/tool/point3D_tool.cpp
        plc调度节点/tool/point3D_tool.h
        plc调度节点/tool/point_tool.cpp
        plc调度节点/tool/point_tool.h
        plc调度节点/tool/proto_tool.cpp
        plc调度节点/tool/proto_tool.h
        plc调度节点/tool/singleton.cpp
        plc调度节点/tool/singleton.h
        plc调度节点/tool/string_convert.cpp
        plc调度节点/tool/string_convert.h
        plc调度节点/tool/thread_condition.cpp
        plc调度节点/tool/thread_condition.h
        plc调度节点/tool/thread_pool.h
        plc调度节点/tool/thread_safe_list.cpp
        plc调度节点/tool/thread_safe_list.h
        plc调度节点/tool/thread_safe_queue.cpp
        plc调度节点/tool/thread_safe_queue.h
        plc调度节点/tool/time_tool.cpp
        plc调度节点/tool/time_tool.h
        plc调度节点/main.cpp
        入口引导提示节点/led资料文档/led_protocol.cpp
        测量节点/communication/communication.pb.cc
        测量节点/communication/communication.pb.h
        测量节点/communication/communication_message.cpp
        测量节点/communication/communication_message.h
        测量节点/communication/communication_socket_base.cpp
        测量节点/communication/communication_socket_base.h
        测量节点/error_code/error_code.cpp
        测量节点/error_code/error_code.h
        测量节点/message/measure_message.pb.cc
        测量节点/message/measure_message.pb.h
        测量节点/message/message.pb.cc
        测量节点/message/message.pb.h
        测量节点/message/message_base.pb.cc
        测量节点/message/message_base.pb.h
        测量节点/rabbitmq/rabbitmq.pb.cc
        测量节点/rabbitmq/rabbitmq.pb.h
        测量节点/rabbitmq/rabbitmq_base.cpp
        测量节点/rabbitmq/rabbitmq_base.h
        测量节点/rabbitmq/rabbitmq_message.cpp
        测量节点/rabbitmq/rabbitmq_message.h
        测量节点/rabbitmq/ttt.cpp
        测量节点/rabbitmq/ttt.h
        "测量节点/system/system_communication mq.cpp"
        测量节点/system/system_communication.cpp
        测量节点/system/system_communication.h
        测量节点/system/system_communication_mq.h
        测量节点/system/system_executor.cpp
        测量节点/system/system_executor.h
        测量节点/task/task_base.cpp
        测量节点/task/task_base.h
        测量节点/task/task_command_manager.cpp
        测量节点/task/task_command_manager.h
        测量节点/tests/lidar_calib_tools.cpp
        测量节点/tests/vlp16_driver_test.cpp
        测量节点/tool/TaskQueue/threadpp/impl/pthread_lock.h
        测量节点/tool/TaskQueue/threadpp/impl/pthread_lock.hpp
        测量节点/tool/TaskQueue/threadpp/impl/pthread_thread.h
        测量节点/tool/TaskQueue/threadpp/impl/pthread_thread.hpp
        测量节点/tool/TaskQueue/threadpp/impl/std_lock.h
        测量节点/tool/TaskQueue/threadpp/impl/std_lock.hpp
        测量节点/tool/TaskQueue/threadpp/impl/std_thread.h
        测量节点/tool/TaskQueue/threadpp/impl/std_thread.hpp
        测量节点/tool/TaskQueue/threadpp/impl/win_lock.h
        测量节点/tool/TaskQueue/threadpp/impl/win_lock.hpp
        测量节点/tool/TaskQueue/threadpp/impl/win_thread.h
        测量节点/tool/TaskQueue/threadpp/impl/win_thread.hpp
        测量节点/tool/TaskQueue/threadpp/recursive_lock.h
        测量节点/tool/TaskQueue/threadpp/threadpp.h
        测量节点/tool/TaskQueue/threadpp/threadpp_assert.h
        测量节点/tool/TaskQueue/BaseTask.cpp
        测量节点/tool/TaskQueue/BaseTask.h
        测量节点/tool/TaskQueue/TaskPool.h
        测量节点/tool/TaskQueue/ThreadTaskQueue.cpp
        测量节点/tool/TaskQueue/ThreadTaskQueue.h
        测量节点/tool/TaskQueue/TQFactory.cpp
        测量节点/tool/TaskQueue/TQFactory.h
        测量节点/tool/TaskQueue/TQInterface.h
        测量节点/tool/binary_buf.cpp
        测量节点/tool/binary_buf.h
        测量节点/tool/common_data.cpp
        测量节点/tool/common_data.h
        测量节点/tool/icp_svd_registration.cpp
        测量节点/tool/icp_svd_registration.hpp
        测量节点/tool/measure_filter.h
        测量节点/tool/pathcreator.cpp
        测量节点/tool/pathcreator.h
        测量节点/tool/pcl_cloud_with_lock.cpp
        测量节点/tool/pcl_cloud_with_lock.h
        测量节点/tool/point2D_tool.cpp
        测量节点/tool/point2D_tool.h
        测量节点/tool/point3D_tool.cpp
        测量节点/tool/point3D_tool.h
        测量节点/tool/point_tool.cpp
        测量节点/tool/point_tool.h
        测量节点/tool/proto_tool.cpp
        测量节点/tool/proto_tool.h
        测量节点/tool/region_status_checker.h
        测量节点/tool/rotate_center_caliber.cpp
        测量节点/tool/rotate_center_caliber.h
        测量节点/tool/singleton.cpp
        测量节点/tool/singleton.h
        测量节点/tool/thread_condition.cpp
        测量节点/tool/thread_condition.h
        测量节点/tool/thread_pool.h
        测量节点/tool/thread_safe_list.cpp
        测量节点/tool/thread_safe_list.h
        测量节点/tool/thread_safe_queue.cpp
        测量节点/tool/thread_safe_queue.h
        测量节点/tool/time_tool.cpp
        测量节点/tool/time_tool.h
        测量节点/velodyne_lidar/match3d/common/math.h
        测量节点/velodyne_lidar/match3d/common/port.h
        测量节点/velodyne_lidar/match3d/detect_ceres3d.cpp
        测量节点/velodyne_lidar/match3d/detect_ceres3d.h
        测量节点/velodyne_lidar/match3d/detect_wheel_ceres3d.cpp
        测量节点/velodyne_lidar/match3d/detect_wheel_ceres3d.h
        测量节点/velodyne_lidar/match3d/hybrid_grid.hpp
        测量节点/velodyne_lidar/match3d/interpolated_grid.hpp
        测量节点/velodyne_lidar/velodyne_driver/angles.h
        测量节点/velodyne_lidar/velodyne_driver/calibration.cc
        测量节点/velodyne_lidar/velodyne_driver/calibration.h
        测量节点/velodyne_lidar/velodyne_driver/input.cc
        测量节点/velodyne_lidar/velodyne_driver/input.h
        测量节点/velodyne_lidar/velodyne_driver/rawdata.cc
        测量节点/velodyne_lidar/velodyne_driver/rawdata.h
        测量节点/velodyne_lidar/velodyne_driver/velodyne_lidar_device.cpp
        测量节点/velodyne_lidar/velodyne_driver/velodyne_lidar_device.h
        测量节点/velodyne_lidar/velodyne_driver/velodyne_lidar_scan_task.cpp
        测量节点/velodyne_lidar/velodyne_driver/velodyne_lidar_scan_task.h
        测量节点/velodyne_lidar/car_pose_detector.cpp
        测量节点/velodyne_lidar/car_pose_detector.h
        测量节点/velodyne_lidar/chassis_ceres_solver.cpp
        测量节点/velodyne_lidar/chassis_ceres_solver.h
        测量节点/velodyne_lidar/ground_region.cpp
        测量节点/velodyne_lidar/ground_region.h
        测量节点/velodyne_lidar/velodyne_config.pb.cc
        测量节点/velodyne_lidar/velodyne_config.pb.h
        测量节点/velodyne_lidar/velodyne_manager.cpp
        测量节点/velodyne_lidar/velodyne_manager.h
        测量节点/velodyne_lidar/velodyne_manager_task.cpp
        测量节点/velodyne_lidar/velodyne_manager_task.h
        测量节点/verify/hardware_limit.pb.cc
        测量节点/verify/hardware_limit.pb.h
        测量节点/verify/Railing.cpp
        测量节点/verify/Railing.h
        测量节点/verify/Terminal_region_limit.cpp
        测量节点/verify/Terminal_region_limit.h
        测量节点/verify/Verify_result.cpp
        测量节点/verify/Verify_result.h
        测量节点/wanji_lidar/async_client.cpp
        测量节点/wanji_lidar/async_client.h
        测量节点/wanji_lidar/detect_wheel_ceres.cpp
        测量节点/wanji_lidar/detect_wheel_ceres.h
        测量节点/wanji_lidar/LogFiles.cpp
        测量节点/wanji_lidar/LogFiles.h
        测量节点/wanji_lidar/Point2D.cpp
        测量节点/wanji_lidar/Point2D.h
        测量节点/wanji_lidar/Point3D.cpp
        测量节点/wanji_lidar/Point3D.h
        测量节点/wanji_lidar/region_detect.cpp
        测量节点/wanji_lidar/region_detect.h
        测量节点/wanji_lidar/region_worker.cpp
        测量节点/wanji_lidar/region_worker.h
        测量节点/wanji_lidar/wanji_716N_device.cpp
        测量节点/wanji_lidar/wanji_716N_device.h
        测量节点/wanji_lidar/wanji_lidar_device.cpp
        测量节点/wanji_lidar/wanji_lidar_device.h
        测量节点/wanji_lidar/wanji_lidar_scan_task.cpp
        测量节点/wanji_lidar/wanji_lidar_scan_task.h
        测量节点/wanji_lidar/wanji_manager.cpp
        测量节点/wanji_lidar/wanji_manager.h
        测量节点/wanji_lidar/wanji_manager_task.cpp
        测量节点/wanji_lidar/wanji_manager_task.h
        测量节点/wanji_lidar/wj_716_lidar_protocol.cpp
        测量节点/wanji_lidar/wj_716_lidar_protocol.h
        测量节点/wanji_lidar/wj_716N_lidar_protocol.cpp
        测量节点/wanji_lidar/wj_716N_lidar_protocol.h
        测量节点/wanji_lidar/wj_lidar_conf.pb.cc
        测量节点/wanji_lidar/wj_lidar_conf.pb.h
        测量节点/main.cpp)
