install files according to #55

This commit is contained in:
Sarod Yatawatta 2018-08-27 23:46:10 +02:00
parent deab251c00
commit 2130398fea
6 changed files with 18 additions and 0 deletions

View File

@ -34,3 +34,6 @@ target_link_libraries(sagecal-mpi
-ldirac
-lradio
)
install(TARGETS sagecal-mpi DESTINATION bin)

View File

@ -37,3 +37,5 @@ target_link_libraries(sagecal
-ldirac
-lradio
)
install(TARGETS sagecal DESTINATION bin)

View File

@ -20,3 +20,6 @@ target_link_libraries(buildsky
-lcfitsio
-lm
)
install(TARGETS buildsky DESTINATION bin)

View File

@ -62,6 +62,10 @@ message (STATUS "lib/Dirac objects --> ${objects}")
include_directories(./)
foreach (object ${objects})
add_library(${object} SHARED ${object}.c)
SET_TARGET_PROPERTIES(${object} PROPERTIES SOVERSION 0.0)
endforeach (object)
add_library(dirac ${objects} Dirac.h)
SET_TARGET_PROPERTIES(dirac PROPERTIES SOVERSION 0.0)
## disable install of lib* files
##install(TARGETS ${objects} dirac DESTINATION lib)

View File

@ -44,9 +44,13 @@ include_directories(${GLIB_PKG_INCLUDE_DIRS})
foreach (object ${objects})
add_library(${object} ${object}.c)
SET_TARGET_PROPERTIES(${object} PROPERTIES SOVERSION 0.0)
endforeach (object)
add_library(radio ${objects} Radio.h)
SET_TARGET_PROPERTIES(radio PROPERTIES SOVERSION 0.0)
## disable install of lib* files
##install(TARGETS ${objects} radio DESTINATION lib)
target_link_libraries(radio
${CASACORE_LIBRARIES}

View File

@ -23,3 +23,5 @@ target_link_libraries(restore
-lcfitsio
-lm
)
install(TARGETS restore DESTINATION bin)