[scripts] Add CMakeLists.txt (install files)

Add installation targets for the scripts and Perl modules.
This commit is contained in:
Matteo Cypriani 2013-09-23 16:44:59 -04:00
parent 51837c0ac1
commit 703e78ff1a
2 changed files with 33 additions and 0 deletions

View File

@ -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 ###

29
scripts/CMakeLists.txt Normal file
View File

@ -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)