Skip to content
This repository has been archived by the owner on May 29, 2022. It is now read-only.

Library splitted into the cpack-components #7

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 31 additions & 15 deletions BuildSetup.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -128,26 +128,29 @@ if( ${CMAKE_SYSTEM_NAME} MATCHES "SunOS" )
elseif( ${CMAKE_SYSTEM_NAME} MATCHES "Darwin" )
set( CPACK_GENERATOR "TGZ" )
elseif( ${CMAKE_SYSTEM_NAME} MATCHES "Linux" )
execute_process(COMMAND "/usr/bin/lsb_release" "-is"
TIMEOUT 4
OUTPUT_VARIABLE LINUX_DISTRO
ERROR_QUIET
OUTPUT_STRIP_TRAILING_WHITESPACE)
if (${LINUX_DISTRO} MATCHES "RedHatEnterpriseServer")
message( STATUS "Detected a Linux Red Hat machine")
set( CPACK_GENERATOR "DEB;TGZ;RPM")
elseif (${LINUX_DISTRO} MATCHES "Debian")
message( STATUS "Detected a Linux Debian machine")
set( CPACK_GENERATOR "DEB;TGZ" )
else (${LINUX_DISTRO} MATCHES "RedHatEnterpriseServer")
message( STATUS "Detected a Linux machine")
set( CPACK_GENERATOR "DEB;TGZ" )
endif()
set( CPACK_GENERATOR "RPM;DEB;TGZ" )
elseif( ${CMAKE_SYSTEM_NAME} MATCHES "Windows" )
set( CPACK_GENERATOR "NSIS;ZIP" )
set( CPACK_RESOURCE_FILE_LICENSE "${PROJECT_SOURCE_DIR}/LICENSE.md")
endif()

#----------------------------------------
# Component names for separate distribution in rpms, debs etc.
#----------------------------------------
set( APPLICATIONS_COMPONENT applications )
set( LIBRARIES_COMPONENT lib )
set( DEVEL_COMPONENT devel )

set( CPACK_COMPONENT_${APPLICATIONS_COMPONENT}_DISPLAY_NAME "Applications" )
set( CPACK_COMPONENT_${LIBRARIES_COMPONENT}_DISPLAY_NAME "Libraries" )
set( CPACK_COMPONENT_${DEVEL_COMPONENT}_DISPLAY_NAME "C++ Headers" )

set( CPACK_COMPONENT_${APPLICATIONS_COMPONENT}_DEPENDS ${LIBRARIES_COMPONENT} )
set( CPACK_COMPONENT_${DEVEL_COMPONENT}_DEPENDS ${LIBRARIES_COMPONENT} )

set( CPACK_COMPONENTS_ALL ${APPLICATIONS_COMPONENT} ${LIBRARIES_COMPONENT} ${DEVEL_COMPONENT} )

set( CPACK_PACKAGE_NAME "gpstk" )
set( CPACK_PACKAGE_DESCRIPTION_SUMMARY "GPSTk libraries and applications for GNSS processing.")
set( CPACK_PACKAGE_VENDOR "ARL:UT SGL" )
set( CPACK_PACKAGE_CONTACT "Bryan Parsons" )
Expand All @@ -158,11 +161,24 @@ set( CPACK_PACKAGE_VERSION_PATCH "${GPSTK_VERSION_PATCH}" )
set( CPACK_INCLUDE_TOPLEVEL_DIRECTORY "OFF" )
set( CPACK_PACKAGE_INSTALL_DIRECTORY "gpstk")
set( CPACK_TOPLEVEL_TAG "gpstk" )
set( CPACK_PACKAGE_RELEASE 1)

set( CPACK_ARCHIVE_COMPONENT_INSTALL ON )

set( CPACK_DEB_COMPONENT_INSTALL ON )
set( CPACK_DEBIAN_PACKAGE_DEPENDS "libc6 (>= 2.13)" )
set( CPACK_DEBIAN_SECTION "stable" )
set( CPACK_DEBIAN_PACKAGE_SECTION "science" )

set( CPACK_RPM_COMPONENT_INSTALL ON )
set( CPACK_RPM_POST_INSTALL_SCRIPT_FILE "${CMAKE_SOURCE_DIR}/ref/build/install-scripts/post_install_script.sh" )
set( CPACK_RPM_POST_UNINSTALL_SCRIPT_FILE "${CMAKE_SOURCE_DIR}/ref/build/install-scripts/post_uninstall_script.sh" )
set( CPACK_RPM_PACKAGE_LICENSE LGPL )
set( CPACK_RPM_PACKAGE_GROUP "Science" )
set( CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST_ADDITION ${CPACK_PACKAGING_INSTALL_PREFIX} "/usr/share/cmake" )
set( CPACK_RPM_${APPLICATIONS_COMPONENT}_PACKAGE_REQUIRES "${CPACK_PACKAGE_NAME}-${LIBRARIES_COMPONENT} = ${GPSTK_VERSION}-${CPACK_PACKAGE_RELEASE}" )
set( CPACK_RPM_${DEVEL_COMPONENT}_PACKAGE_REQUIRES "${CPACK_PACKAGE_NAME}-${LIBRARIES_COMPONENT} = ${GPSTK_VERSION}-${CPACK_PACKAGE_RELEASE}" )

set( CPACK_SOURCE_IGNORE_FILES "${PROJECT_BINARY_DIR}" "/build-.*/" ".*/[.].*" )
set( CPACK_SOURCE_GENERATOR "TGZ")

Expand Down
8 changes: 4 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -125,10 +125,10 @@ endif()
add_library( gpstk ${STADYN} ${GPSTK_SRC_FILES} ${GPSTK_INC_FILES} )

# GPSTk library install target
install( TARGETS gpstk DESTINATION "${CMAKE_INSTALL_LIBDIR}" EXPORT "${EXPORT_TARGETS_FILENAME}" )
install( TARGETS gpstk DESTINATION "${CMAKE_INSTALL_LIBDIR}" EXPORT "${EXPORT_TARGETS_FILENAME}" COMPONENT ${LIBRARIES_COMPONENT} )

# GPSTk header file install target
install( FILES ${GPSTK_INC_FILES} DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}" )
install( FILES ${GPSTK_INC_FILES} DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/gpstk" COMPONENT ${DEVEL_COMPONENT} )

#============================================================
# Testing
Expand Down Expand Up @@ -169,6 +169,6 @@ install( FILES
${CMAKE_CURRENT_BINARY_DIR}/GPSTKConfig.cmake
${CMAKE_CURRENT_BINARY_DIR}/GPSTKConfigVersion.cmake
DESTINATION
${INSTALL_CONFIG_DIR} )
${INSTALL_CONFIG_DIR} COMPONENT ${DEVEL_COMPONENT} )

install( EXPORT ${EXPORT_TARGETS_FILENAME} DESTINATION ${INSTALL_CONFIG_DIR} )
install( EXPORT ${EXPORT_TARGETS_FILENAME} DESTINATION ${INSTALL_CONFIG_DIR} COMPONENT ${DEVEL_COMPONENT} )
10 changes: 5 additions & 5 deletions core/apps/Rinextools/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# apps/Rinextools/CMakeLists.txt

add_executable(RinDump RinDump.cpp)
target_link_libraries(RinDump gpstk)
install (TARGETS RinDump DESTINATION "${CMAKE_INSTALL_BINDIR}")
# apps/Rinextools/CMakeLists.txt
add_executable(RinDump RinDump.cpp)
target_link_libraries(RinDump gpstk)
install (TARGETS RinDump DESTINATION "${CMAKE_INSTALL_BINDIR}" COMPONENT ${APPLICATIONS_COMPONENT})
4 changes: 2 additions & 2 deletions core/apps/positioning/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

add_executable(poscvt poscvt.cpp)
target_link_libraries(poscvt gpstk)
install (TARGETS poscvt DESTINATION "${CMAKE_INSTALL_BINDIR}")
install (TARGETS poscvt DESTINATION "${CMAKE_INSTALL_BINDIR}" COMPONENT ${APPLICATIONS_COMPONENT} )

add_executable(PRSolve PRSolve.cpp)
target_link_libraries(PRSolve gpstk)
install (TARGETS PRSolve DESTINATION "${CMAKE_INSTALL_BINDIR}")
install (TARGETS PRSolve DESTINATION "${CMAKE_INSTALL_BINDIR}" COMPONENT ${APPLICATIONS_COMPONENT} )
2 changes: 1 addition & 1 deletion core/apps/time/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

add_executable(timeconvert timeconvert.cpp)
target_link_libraries(timeconvert gpstk)
install (TARGETS timeconvert DESTINATION "${CMAKE_INSTALL_BINDIR}")
install (TARGETS timeconvert DESTINATION "${CMAKE_INSTALL_BINDIR}" COMPONENT ${APPLICATIONS_COMPONENT} )


2 changes: 1 addition & 1 deletion core/tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# A program to help app testing
add_executable(df_diff df_diff.cpp)
target_link_libraries(df_diff gpstk)
install (TARGETS df_diff DESTINATION "${CMAKE_INSTALL_BINDIR}")
install (TARGETS df_diff DESTINATION "${CMAKE_INSTALL_BINDIR}" COMPONENT ${APPLICATIONS_COMPONENT} )

add_test(NAME df_diff_1
COMMAND ${CMAKE_COMMAND}
Expand Down
6 changes: 3 additions & 3 deletions ext/apps/Rinextools/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

add_executable(RinEdit RinEdit.cpp)
target_link_libraries(RinEdit gpstk)
install (TARGETS RinEdit DESTINATION "${CMAKE_INSTALL_BINDIR}")
install (TARGETS RinEdit DESTINATION "${CMAKE_INSTALL_BINDIR}" COMPONENT ${APPLICATIONS_COMPONENT})

add_executable(RinNav RinNav.cpp)
target_link_libraries(RinNav gpstk)
install (TARGETS RinNav DESTINATION "${CMAKE_INSTALL_BINDIR}")
install (TARGETS RinNav DESTINATION "${CMAKE_INSTALL_BINDIR}" COMPONENT ${APPLICATIONS_COMPONENT})

add_executable(RinSum RinSum.cpp)
target_link_libraries(RinSum gpstk)
install (TARGETS RinSum DESTINATION "${CMAKE_INSTALL_BINDIR}")
install (TARGETS RinSum DESTINATION "${CMAKE_INSTALL_BINDIR}" COMPONENT ${APPLICATIONS_COMPONENT})

6 changes: 3 additions & 3 deletions ext/apps/checktools/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

add_executable(rowcheck rowcheck.cpp)
target_link_libraries(rowcheck gpstk)
install (TARGETS rowcheck DESTINATION "${CMAKE_INSTALL_BINDIR}")
install (TARGETS rowcheck DESTINATION "${CMAKE_INSTALL_BINDIR}" COMPONENT ${APPLICATIONS_COMPONENT})

add_executable(rmwcheck rmwcheck.cpp)
target_link_libraries(rmwcheck gpstk)
install (TARGETS rmwcheck DESTINATION "${CMAKE_INSTALL_BINDIR}")
install (TARGETS rmwcheck DESTINATION "${CMAKE_INSTALL_BINDIR}" COMPONENT ${APPLICATIONS_COMPONENT})

add_executable(rnwcheck rnwcheck.cpp)
target_link_libraries(rnwcheck gpstk)
install (TARGETS rnwcheck DESTINATION "${CMAKE_INSTALL_BINDIR}")
install (TARGETS rnwcheck DESTINATION "${CMAKE_INSTALL_BINDIR}" COMPONENT ${APPLICATIONS_COMPONENT})


26 changes: 13 additions & 13 deletions ext/apps/clocktools/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,55 +2,55 @@

add_executable(rmoutlier rmoutlier.cpp)
target_link_libraries(rmoutlier gpstk)
install (TARGETS rmoutlier DESTINATION "${CMAKE_INSTALL_BINDIR}")
install (TARGETS rmoutlier DESTINATION "${CMAKE_INSTALL_BINDIR}" COMPONENT ${APPLICATIONS_COMPONENT})

add_executable(dallandev dallandev.cpp)
target_link_libraries(dallandev gpstk)
install (TARGETS dallandev DESTINATION "${CMAKE_INSTALL_BINDIR}")
install (TARGETS dallandev DESTINATION "${CMAKE_INSTALL_BINDIR}" COMPONENT ${APPLICATIONS_COMPONENT})

add_executable(ffp ffp.cpp)
target_link_libraries(ffp gpstk)
install (TARGETS ffp DESTINATION "${CMAKE_INSTALL_BINDIR}")
install (TARGETS ffp DESTINATION "${CMAKE_INSTALL_BINDIR}" COMPONENT ${APPLICATIONS_COMPONENT})

add_executable(mallandev mallandev.cpp)
target_link_libraries(mallandev gpstk)
install (TARGETS mallandev DESTINATION "${CMAKE_INSTALL_BINDIR}")
install (TARGETS mallandev DESTINATION "${CMAKE_INSTALL_BINDIR}" COMPONENT ${APPLICATIONS_COMPONENT})

add_executable(nallandev nallandev.cpp)
target_link_libraries(nallandev gpstk)
install (TARGETS nallandev DESTINATION "${CMAKE_INSTALL_BINDIR}")
install (TARGETS nallandev DESTINATION "${CMAKE_INSTALL_BINDIR}" COMPONENT ${APPLICATIONS_COMPONENT})

add_executable(oallandev oallandev.cpp)
target_link_libraries(oallandev gpstk)
install (TARGETS oallandev DESTINATION "${CMAKE_INSTALL_BINDIR}")
install (TARGETS oallandev DESTINATION "${CMAKE_INSTALL_BINDIR}" COMPONENT ${APPLICATIONS_COMPONENT})

add_executable(ohadamarddev ohadamarddev.cpp)
target_link_libraries(ohadamarddev gpstk)
install (TARGETS ohadamarddev DESTINATION "${CMAKE_INSTALL_BINDIR}")
install (TARGETS ohadamarddev DESTINATION "${CMAKE_INSTALL_BINDIR}" COMPONENT ${APPLICATIONS_COMPONENT})

add_executable(ORDPhaseParser ORDPhaseParser.cpp)
target_link_libraries(ORDPhaseParser gpstk)
install (TARGETS ORDPhaseParser DESTINATION "${CMAKE_INSTALL_BINDIR}")
install (TARGETS ORDPhaseParser DESTINATION "${CMAKE_INSTALL_BINDIR}" COMPONENT ${APPLICATIONS_COMPONENT})

add_executable(pff pff.cpp)
target_link_libraries(pff gpstk)
install (TARGETS pff DESTINATION "${CMAKE_INSTALL_BINDIR}")
install (TARGETS pff DESTINATION "${CMAKE_INSTALL_BINDIR}" COMPONENT ${APPLICATIONS_COMPONENT})

add_executable(scale scale.cpp)
target_link_libraries(scale gpstk)
install (TARGETS scale DESTINATION "${CMAKE_INSTALL_BINDIR}")
install (TARGETS scale DESTINATION "${CMAKE_INSTALL_BINDIR}" COMPONENT ${APPLICATIONS_COMPONENT})

add_executable(tallandev tallandev.cpp)
target_link_libraries(tallandev gpstk)
install (TARGETS tallandev DESTINATION "${CMAKE_INSTALL_BINDIR}")
install (TARGETS tallandev DESTINATION "${CMAKE_INSTALL_BINDIR}" COMPONENT ${APPLICATIONS_COMPONENT})

add_executable(TIAPhaseParser TIAPhaseParser.cpp)
target_link_libraries(TIAPhaseParser gpstk)
install (TARGETS TIAPhaseParser DESTINATION "${CMAKE_INSTALL_BINDIR}")
install (TARGETS TIAPhaseParser DESTINATION "${CMAKE_INSTALL_BINDIR}" COMPONENT ${APPLICATIONS_COMPONENT})

add_executable(trunc trunc.cpp)
target_link_libraries(trunc gpstk)
install (TARGETS trunc DESTINATION "${CMAKE_INSTALL_BINDIR}")
install (TARGETS trunc DESTINATION "${CMAKE_INSTALL_BINDIR}" COMPONENT ${APPLICATIONS_COMPONENT})

install( PROGRAMS allanplot DESTINATION "${CMAKE_INSTALL_BINDIR}" )
install( FILES allanplot.py DESTINATION "${CMAKE_INSTALL_BINDIR}" )
Expand Down
2 changes: 1 addition & 1 deletion ext/apps/differential/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

add_executable(vecsol vecsol.cpp)
target_link_libraries(vecsol gpstk)
install (TARGETS vecsol DESTINATION "${CMAKE_INSTALL_BINDIR}")
install (TARGETS vecsol DESTINATION "${CMAKE_INSTALL_BINDIR}" COMPONENT ${APPLICATIONS_COMPONENT})
8 changes: 4 additions & 4 deletions ext/apps/difftools/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@

add_executable(rowdiff rowdiff.cpp)
target_link_libraries(rowdiff gpstk)
install (TARGETS rowdiff DESTINATION "${CMAKE_INSTALL_BINDIR}")
install (TARGETS rowdiff DESTINATION "${CMAKE_INSTALL_BINDIR}" COMPONENT ${APPLICATIONS_COMPONENT})

add_executable(rnwdiff rnwdiff.cpp)
target_link_libraries(rnwdiff gpstk)
install (TARGETS rnwdiff DESTINATION "${CMAKE_INSTALL_BINDIR}")
install (TARGETS rnwdiff DESTINATION "${CMAKE_INSTALL_BINDIR}" COMPONENT ${APPLICATIONS_COMPONENT})

add_executable(rmwdiff rmwdiff.cpp)
target_link_libraries(rmwdiff gpstk)
install (TARGETS rmwdiff DESTINATION "${CMAKE_INSTALL_BINDIR}")
install (TARGETS rmwdiff DESTINATION "${CMAKE_INSTALL_BINDIR}" COMPONENT ${APPLICATIONS_COMPONENT})

add_executable(rinheaddiff rinheaddiff.cpp)
target_link_libraries(rinheaddiff gpstk)
install (TARGETS rinheaddiff DESTINATION "${CMAKE_INSTALL_BINDIR}")
install (TARGETS rinheaddiff DESTINATION "${CMAKE_INSTALL_BINDIR}" COMPONENT ${APPLICATIONS_COMPONENT})
8 changes: 4 additions & 4 deletions ext/apps/filetools/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@

add_executable(glodump GloDump.cpp)
target_link_libraries(glodump gpstk)
install (TARGETS glodump DESTINATION "${CMAKE_INSTALL_BINDIR}")
install (TARGETS glodump DESTINATION "${CMAKE_INSTALL_BINDIR}" COMPONENT ${APPLICATIONS_COMPONENT})

add_executable(rinexthin RinexThin.cpp)
target_link_libraries(rinexthin gpstk)
install (TARGETS rinexthin DESTINATION "${CMAKE_INSTALL_BINDIR}")
install (TARGETS rinexthin DESTINATION "${CMAKE_INSTALL_BINDIR}" COMPONENT ${APPLICATIONS_COMPONENT})

add_executable(sp3version sp3version.cpp)
target_link_libraries(sp3version gpstk)
install (TARGETS sp3version DESTINATION "${CMAKE_INSTALL_BINDIR}")
install (TARGETS sp3version DESTINATION "${CMAKE_INSTALL_BINDIR}" COMPONENT ${APPLICATIONS_COMPONENT})

add_executable(bc2sp3 bc2sp3.cpp)
target_link_libraries(bc2sp3 gpstk)
install (TARGETS bc2sp3 DESTINATION "${CMAKE_INSTALL_BINDIR}")
install (TARGETS bc2sp3 DESTINATION "${CMAKE_INSTALL_BINDIR}" COMPONENT ${APPLICATIONS_COMPONENT})


4 changes: 2 additions & 2 deletions ext/apps/geomatics/JPLeph/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

add_executable(convertSSEph convertSSEph.cpp)
target_link_libraries(convertSSEph gpstk)
install (TARGETS convertSSEph DESTINATION "${CMAKE_INSTALL_BINDIR}")
install (TARGETS convertSSEph DESTINATION "${CMAKE_INSTALL_BINDIR}" COMPONENT ${APPLICATIONS_COMPONENT})

add_executable(testSSEph testSSEph.cpp)
target_link_libraries(testSSEph gpstk)
install (TARGETS testSSEph DESTINATION "${CMAKE_INSTALL_BINDIR}")
install (TARGETS testSSEph DESTINATION "${CMAKE_INSTALL_BINDIR}" COMPONENT ${APPLICATIONS_COMPONENT})


2 changes: 1 addition & 1 deletion ext/apps/geomatics/cycleslips/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

add_executable(DiscFix DiscFix.cpp)
target_link_libraries(DiscFix gpstk)
install (TARGETS DiscFix DESTINATION "${CMAKE_INSTALL_BINDIR}")
install (TARGETS DiscFix DESTINATION "${CMAKE_INSTALL_BINDIR}" COMPONENT ${APPLICATIONS_COMPONENT})


4 changes: 2 additions & 2 deletions ext/apps/geomatics/kalman/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

add_executable(mergeSRI mergeSRI.cpp)
target_link_libraries(mergeSRI gpstk)
install (TARGETS mergeSRI DESTINATION "${CMAKE_INSTALL_BINDIR}")
install (TARGETS mergeSRI DESTINATION "${CMAKE_INSTALL_BINDIR}" COMPONENT ${APPLICATIONS_COMPONENT})

add_executable(tkalm tkalm.cpp)
target_link_libraries(tkalm gpstk)
install (TARGETS tkalm DESTINATION "${CMAKE_INSTALL_BINDIR}")
install (TARGETS tkalm DESTINATION "${CMAKE_INSTALL_BINDIR}" COMPONENT ${APPLICATIONS_COMPONENT})

2 changes: 1 addition & 1 deletion ext/apps/geomatics/relposition/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ target_link_libraries(baselib gpstk)

add_executable(DDBase DDBase.cpp)
target_link_libraries(DDBase baselib)
install (TARGETS DDBase DESTINATION "${CMAKE_INSTALL_BINDIR}")
install (TARGETS DDBase DESTINATION "${CMAKE_INSTALL_BINDIR}" COMPONENT ${APPLICATIONS_COMPONENT})



4 changes: 2 additions & 2 deletions ext/apps/geomatics/robust/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

add_executable(lsfilt lsfilt.cpp)
target_link_libraries(lsfilt gpstk)
install (TARGETS lsfilt DESTINATION "${CMAKE_INSTALL_BINDIR}")
install (TARGETS lsfilt DESTINATION "${CMAKE_INSTALL_BINDIR}" COMPONENT ${APPLICATIONS_COMPONENT})

add_executable(rstats rstats.cpp)
target_link_libraries(rstats gpstk)
install (TARGETS rstats DESTINATION "${CMAKE_INSTALL_BINDIR}")
install (TARGETS rstats DESTINATION "${CMAKE_INSTALL_BINDIR}" COMPONENT ${APPLICATIONS_COMPONENT})

6 changes: 3 additions & 3 deletions ext/apps/mergetools/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@

add_executable(mergeRinObs mergeRinObs.cpp)
target_link_libraries(mergeRinObs gpstk)
install (TARGETS mergeRinObs DESTINATION "${CMAKE_INSTALL_BINDIR}")
install (TARGETS mergeRinObs DESTINATION "${CMAKE_INSTALL_BINDIR}" COMPONENT ${APPLICATIONS_COMPONENT})

add_executable(mergeRinNav mergeRinNav.cpp)
target_link_libraries(mergeRinNav gpstk)
install (TARGETS mergeRinNav DESTINATION "${CMAKE_INSTALL_BINDIR}")
install (TARGETS mergeRinNav DESTINATION "${CMAKE_INSTALL_BINDIR}" COMPONENT ${APPLICATIONS_COMPONENT})

add_executable(mergeRinMet mergeRinMet.cpp)
target_link_libraries(mergeRinMet gpstk)
install (TARGETS mergeRinMet DESTINATION "${CMAKE_INSTALL_BINDIR}")
install (TARGETS mergeRinMet DESTINATION "${CMAKE_INSTALL_BINDIR}" COMPONENT ${APPLICATIONS_COMPONENT})

if (CMAKE_SYSTEM_NAME MATCHES "SunOS")
target_link_libraries(mergeRinObs gen)
Expand Down
2 changes: 1 addition & 1 deletion ext/apps/misc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

add_executable(SVNumXRefDUMP SVNumXRefDUMP.cpp)
target_link_libraries(SVNumXRefDUMP gpstk)
install (TARGETS SVNumXRefDUMP DESTINATION "${CMAKE_INSTALL_BINDIR}")
install (TARGETS SVNumXRefDUMP DESTINATION "${CMAKE_INSTALL_BINDIR} COMPONENT ${APPLICATIONS_COMPONENT}")
2 changes: 1 addition & 1 deletion ext/apps/multipath/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@

add_executable(mpsolve mpsolve.cpp ObsArray.cpp)
target_link_libraries(mpsolve gpstk)
install (TARGETS mpsolve DESTINATION "${CMAKE_INSTALL_BINDIR}")
install (TARGETS mpsolve DESTINATION "${CMAKE_INSTALL_BINDIR}" COMPONENT ${APPLICATIONS_COMPONENT})

10 changes: 5 additions & 5 deletions ext/apps/positioning/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# apps/positioning/CMakeListt.txt

add_executable(posInterp posInterp.cpp)
target_link_libraries(posInterp gpstk)
install (TARGETS posInterp DESTINATION "${CMAKE_INSTALL_BINDIR}")
# apps/positioning/CMakeListt.txt
add_executable(posInterp posInterp.cpp)
target_link_libraries(posInterp gpstk)
install (TARGETS posInterp DESTINATION "${CMAKE_INSTALL_BINDIR}" COMPONENT ${APPLICATIONS_COMPONENT})
2 changes: 1 addition & 1 deletion ext/apps/receiver/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

add_executable(rtAshtech AshtechMessage.cpp rtAshtech.cpp ScreenControl.cpp)
target_link_libraries(rtAshtech gpstk)
install (TARGETS rtAshtech DESTINATION "${CMAKE_INSTALL_BINDIR}")
install (TARGETS rtAshtech DESTINATION "${CMAKE_INSTALL_BINDIR}" COMPONENT ${APPLICATIONS_COMPONENT})

2 changes: 1 addition & 1 deletion ext/apps/rfw/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

add_executable(rfw rfw.cpp FDStreamBuff.cpp TCPStreamBuff.cpp)
target_link_libraries(rfw gpstk)
install (TARGETS rfw DESTINATION "${CMAKE_INSTALL_BINDIR}")
install (TARGETS rfw DESTINATION "${CMAKE_INSTALL_BINDIR}" COMPONENT ${APPLICATIONS_COMPONENT})

if (CMAKE_SYSTEM_NAME MATCHES "SunOS")
target_link_libraries(rfw socket nsl)
Expand Down
Loading