Skip to content

Commit

Permalink
add CMake rules to install new teoSim
Browse files Browse the repository at this point in the history
  • Loading branch information
jgvictores committed Jan 8, 2018
1 parent 15abb64 commit 4b9892e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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})
Expand Down
12 changes: 12 additions & 0 deletions scripts/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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})

0 comments on commit 4b9892e

Please sign in to comment.