From 703e78ff1a4e3a753e09976fbe57d568e66b22ab Mon Sep 17 00:00:00 2001 From: Matteo Cypriani Date: Mon, 23 Sep 2013 16:44:59 -0400 Subject: [PATCH] [scripts] Add CMakeLists.txt (install files) Add installation targets for the scripts and Perl modules. --- CMakeLists.txt | 4 ++++ scripts/CMakeLists.txt | 29 +++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 scripts/CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt index 1f3bdff..a26b240 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -209,6 +209,10 @@ else() # Warn the user about missing dependencies "OwlPS UDP-to-HTTP dependency missing: POSIX threads") endif() +## Scripts ## + +add_subdirectory(scripts) + ### Documentation ### diff --git a/scripts/CMakeLists.txt b/scripts/CMakeLists.txt new file mode 100644 index 0000000..cc42390 --- /dev/null +++ b/scripts/CMakeLists.txt @@ -0,0 +1,29 @@ +# This file is part of the Owl Positioning System (OwlPS) project. +# It is subject to the copyright notice and license terms in the +# COPYRIGHT.t2t file found in the top-level directory of this +# distribution and at +# http://code.lm7.fr/p/owlps/source/tree/master/COPYRIGHT.t2t +# No part of the OwlPS Project, including this file, may be copied, +# modified, propagated, or distributed except according to the terms +# contained in the COPYRIGHT.t2t file; the COPYRIGHT.t2t file must be +# distributed along with this file, either separately or by replacing +# this notice by the COPYRIGHT.t2t file's contents. + +# OwlPS AggCheck +install( + FILES owlps-aggcheck.pl + RENAME owlps-aggcheck + PERMISSIONS OWNER_WRITE OWNER_READ OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE + DESTINATION bin) + +# OwlPS AggSetCoord +install( + FILES owlps-aggsetcoord.pl + RENAME owlps-aggsetcoord + PERMISSIONS OWNER_WRITE OWNER_READ OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE + DESTINATION bin) + +# Perl modules +install( + DIRECTORY OwlPS + DESTINATION share/perl5)