[hamradio-commits] [gnss-sdr] 02/303: Add volk_gnsssdr-config-info to the list of generated executables

Carles Fernandez carles_fernandez-guest at moszumanska.debian.org
Mon Feb 13 22:35:42 UTC 2017


This is an automated email from the git hooks/post-receive script.

carles_fernandez-guest pushed a commit to branch master
in repository gnss-sdr.

commit e4b0070e9a5954cddc0a3e494fe839f44a567987
Author: Carles Fernandez <carles.fernandez at gmail.com>
Date:   Wed Jul 6 20:25:39 2016 +0200

    Add volk_gnsssdr-config-info to the list of generated executables
---
 CMakeLists.txt                                     |  8 +++--
 .../volk_gnsssdr/apps/CMakeLists.txt               | 10 +++---
 .../Packaging/volk_gnsssdr-config-info-manpage     | 42 ++++++++++++++++++++++
 src/main/CMakeLists.txt                            |  8 +++--
 4 files changed, 59 insertions(+), 9 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4524e13..ce0a953 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -459,8 +459,12 @@ if(NOT VOLK_GNSSSDR_FOUND)
     set(VOLK_GNSSSDR_LIBRARIES volk_gnsssdr)
 
     add_custom_command(TARGET volk_gnsssdr_module POST_BUILD
-                   COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_BINARY_DIR}/volk_gnsssdr_module/install/bin/volk_gnsssdr_profile
-                                   ${CMAKE_SOURCE_DIR}/install/volk_gnsssdr_profile)
+        COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_BINARY_DIR}/volk_gnsssdr_module/install/bin/volk_gnsssdr_profile
+        ${CMAKE_SOURCE_DIR}/install/volk_gnsssdr_profile)
+        
+    add_custom_command(TARGET volk_gnsssdr_module POST_BUILD
+        COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_BINARY_DIR}/volk_gnsssdr_module/install/bin/volk_gnsssdr-config-info
+        ${CMAKE_SOURCE_DIR}/install/volk_gnsssdr-config-info)    
 endif(NOT VOLK_GNSSSDR_FOUND)
 
 
diff --git a/src/algorithms/libs/volk_gnsssdr_module/volk_gnsssdr/apps/CMakeLists.txt b/src/algorithms/libs/volk_gnsssdr_module/volk_gnsssdr/apps/CMakeLists.txt
index 1b52008..ff91ee9 100644
--- a/src/algorithms/libs/volk_gnsssdr_module/volk_gnsssdr/apps/CMakeLists.txt
+++ b/src/algorithms/libs/volk_gnsssdr_module/volk_gnsssdr/apps/CMakeLists.txt
@@ -94,9 +94,9 @@ add_executable(volk_gnsssdr-config-info volk_gnsssdr-config-info.cc)
 target_link_libraries(volk_gnsssdr-config-info volk_gnsssdr ${Boost_LIBRARIES} ${Clang_required_link} ${orc_lib})
 add_dependencies(volk_gnsssdr-config-info volk_gnsssdr)
 
-# install(
-#    TARGETS volk_gnsssdr-config-info
-#    DESTINATION bin
-#    COMPONENT "volk_gnsssdr"
-# )
+install(
+    TARGETS volk_gnsssdr-config-info
+    DESTINATION bin
+    COMPONENT "volk_gnsssdr"
+)
 
diff --git a/src/algorithms/libs/volk_gnsssdr_module/volk_gnsssdr/cmake/Packaging/volk_gnsssdr-config-info-manpage b/src/algorithms/libs/volk_gnsssdr_module/volk_gnsssdr/cmake/Packaging/volk_gnsssdr-config-info-manpage
new file mode 100644
index 0000000..c19d5d6
--- /dev/null
+++ b/src/algorithms/libs/volk_gnsssdr_module/volk_gnsssdr/cmake/Packaging/volk_gnsssdr-config-info-manpage
@@ -0,0 +1,42 @@
+.\" Manpage for volk_gnsssdr-config-info
+.\" Contact carles.fernandez at cttc.es to correct errors or typos.
+.TH volk_gnsssdr_profile 1 "06 Jun 2016" "0.0.8" "volk_gnsssdr-config-info man page"
+.SH NAME
+\fBvolk_gnsssdr-config-info\fR \- Prints configuration information of libvolk_gnsssdr functions.
+.SH SYNOPSIS
+\fBvolk_gnsssdr-config-info\fR [OPTION]
+.SH DESCRIPTION
+This program prints configuration information for the Vector-Optimized Library of Kernels of GNSS-SDR (VOLK_GNSSSDR)
+.TP
+\fBvolk_gnsssdr-config-info\fR is a program that prints configuration information for the Vector-Optimized Library of Kernels of GNSS-SDR (VOLK_GNSSSDR)
+.SH OPTIONS
+\fBvolk_gnsssdr-config-info\fR takes the following options:
+.TP
+\fB-h\fR [ \fB--help\fR ] Print help message.
+.TP
+\fB--prefix\fR Print VOLK_GNSSSDR installation prefix.
+.TP
+\fB--cc\fR Print VOLK_GNSSSDR C compiler version.
+.TP
+\fB--cflags\fR Print VOLK_GNSSSDR CFLAGS.
+.TP
+\fB--all-machines\fR Print VOLK_GNSSSDR machines built into library.
+.TP
+\fB--avail-amchines\fR Print VOLK_GNSSSDR machines the current platform can use.
+.TP
+\fB--machine\fR Print the VOLK_GNSSSDR machine that will be used.
+.TP
+\fB--alignment\fR Print the memory alignment that will be used.
+.TP
+\fB--malloc\fR Print malloc implementation that will be used.
+.TP
+\fB-v\fR [ \fB--version\fR ] Print VOLK_GNSSSDR version.
+.SH SEE ALSO
+.BR volk_gnsssdr_profile (1)
+.BR gnss-sdr (1)
+\.TP
+Check http://gnss-sdr.org for more information.
+.SH BUGS
+No known bugs.
+.SH AUTHOR
+Carles Fernandez-Prades (carles.fernandez at cttc.es)
\ No newline at end of file
diff --git a/src/main/CMakeLists.txt b/src/main/CMakeLists.txt
index 5b6e564..1d7bbdc 100644
--- a/src/main/CMakeLists.txt
+++ b/src/main/CMakeLists.txt
@@ -107,7 +107,8 @@ install(FILES ${CMAKE_SOURCE_DIR}/conf/gnss-sdr.conf DESTINATION share/gnss-sdr/
         RENAME default.conf)
 
 if(NOT VOLK_GNSSSDR_FOUND)
-    install(PROGRAMS ${CMAKE_BINARY_DIR}/volk_gnsssdr_module/build/apps/volk_gnsssdr_profile DESTINATION bin)
+    install(PROGRAMS ${CMAKE_BINARY_DIR}/volk_gnsssdr_module/build/apps/volk_gnsssdr_profile DESTINATION bin COMPONENT "volk_gnsssdr")
+    install(PROGRAMS ${CMAKE_BINARY_DIR}/volk_gnsssdr_module/build/apps/volk_gnsssdr-config-info DESTINATION bin COMPONENT "volk_gnsssdr")
 endif(NOT VOLK_GNSSSDR_FOUND)
 
 
@@ -127,7 +128,10 @@ if(NOT GZIP_NOTFOUND)
      if(NOT VOLK_GNSSSDR_FOUND)
          execute_process(COMMAND gzip -9 -c ${CMAKE_SOURCE_DIR}/src/algorithms/libs/volk_gnsssdr_module/volk_gnsssdr/cmake/Packaging/volk_gnsssdr_profile-manpage
                          WORKING_DIRECTORY ${CMAKE_BINARY_DIR} OUTPUT_FILE "${CMAKE_BINARY_DIR}/volk_gnsssdr_profile.1.gz")
-
+         execute_process(COMMAND gzip -9 -c ${CMAKE_SOURCE_DIR}/src/algorithms/libs/volk_gnsssdr_module/volk_gnsssdr/cmake/Packaging/volk_gnsssdr-config-info-manpage
+                         WORKING_DIRECTORY ${CMAKE_BINARY_DIR} OUTPUT_FILE "${CMAKE_BINARY_DIR}/volk_gnsssdr-config-info.1.gz")
+                         
          install(FILES ${CMAKE_BINARY_DIR}/volk_gnsssdr_profile.1.gz DESTINATION share/man/man1)
+         install(FILES ${CMAKE_BINARY_DIR}/volk_gnsssdr-config-info.1.gz DESTINATION share/man/man1)
      endif(NOT VOLK_GNSSSDR_FOUND)
 endif(NOT GZIP_NOTFOUND)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-hamradio/gnss-sdr.git



More information about the pkg-hamradio-commits mailing list