From 4b9892e949401f9a2ddadcd121f9e352845d6806 Mon Sep 17 00:00:00 2001 From: jgvictores Date: Mon, 8 Jan 2018 18:00:19 +0100 Subject: [PATCH] add CMake rules to install new teoSim --- CMakeLists.txt | 1 + scripts/CMakeLists.txt | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 scripts/CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt index e9e87db..8d39ed9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -52,6 +52,7 @@ list(APPEND CMAKE_MODULE_PATH ${TEO_CONFIGURATION_FILES_MODULE_PATH}) # add main contents add_subdirectory(share) +add_subdirectory(scripts) # export our variables to a TEOConfig.cmake creation set(TEO_CONFIGURATION_FILES_LINK_DIRS ${TEO_CONFIGURATION_FILES_LINK_DIRS} ${LIBRARY_OUTPUT_PATH}) diff --git a/scripts/CMakeLists.txt b/scripts/CMakeLists.txt new file mode 100644 index 0000000..c6d7b75 --- /dev/null +++ b/scripts/CMakeLists.txt @@ -0,0 +1,12 @@ +# Copyright: UC3M 2017 +# Author: roboticslab, jgvictores, etc +# CopyPolicy: Released under the terms of the GNU GPL v2.0. +# + +find_package(YARP REQUIRED) +list(APPEND CMAKE_MODULE_PATH ${YARP_MODULE_PATH}) +include(YarpInstallationHelpers) +#yarp_configure_external_installation(teo-configuration-files) # Commentig out because not using generated vars + +yarp_install(PROGRAMS bash/teoSim DESTINATION ${CMAKE_INSTALL_BINDIR}) +