From 3aaa41bee8c8263a0a70934f861045387e8c0537 Mon Sep 17 00:00:00 2001 From: Vladyslav Usenko Date: Thu, 12 Sep 2019 18:52:56 +0200 Subject: [PATCH] Added scripts to install --- CMakeLists.txt | 3 ++- scripts/{capture_mocap.py => basalt_capture_mocap.py} | 0 .../{check_gamma_correction.py => basalt_response_calib.py} | 0 scripts/{verify_dataset.py => basalt_verify_dataset.py} | 0 4 files changed, 2 insertions(+), 1 deletion(-) rename scripts/{capture_mocap.py => basalt_capture_mocap.py} (100%) rename scripts/{check_gamma_correction.py => basalt_response_calib.py} (100%) rename scripts/{verify_dataset.py => basalt_verify_dataset.py} (100%) diff --git a/CMakeLists.txt b/CMakeLists.txt index ca3c5c3..6f90154 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -279,7 +279,8 @@ if(realsense2_FOUND) ARCHIVE DESTINATION ${CMAKE_INSTALL_PREFIX}/lib) endif() -install(PROGRAMS scripts/basalt_convert_kitti_calib.py DESTINATION ${CMAKE_INSTALL_PREFIX}/bin) +file(GLOB SCRIPTS_TO_INSTALL "${CMAKE_CURRENT_SOURCE_DIR}/scripts/basalt_*.json") +install(PROGRAMS SCRIPTS_TO_INSTALL DESTINATION ${CMAKE_INSTALL_PREFIX}/bin) file(GLOB CONFIG_FILES "${CMAKE_CURRENT_SOURCE_DIR}/data/*.json") install(FILES ${CONFIG_FILES} diff --git a/scripts/capture_mocap.py b/scripts/basalt_capture_mocap.py similarity index 100% rename from scripts/capture_mocap.py rename to scripts/basalt_capture_mocap.py diff --git a/scripts/check_gamma_correction.py b/scripts/basalt_response_calib.py similarity index 100% rename from scripts/check_gamma_correction.py rename to scripts/basalt_response_calib.py diff --git a/scripts/verify_dataset.py b/scripts/basalt_verify_dataset.py similarity index 100% rename from scripts/verify_dataset.py rename to scripts/basalt_verify_dataset.py