Adds install command to cmake config
parent
38f522b0a4
commit
76a1e2895d
|
@ -16,4 +16,26 @@ set(SRCS
|
||||||
Util.cpp
|
Util.cpp
|
||||||
Vector.cpp)
|
Vector.cpp)
|
||||||
|
|
||||||
add_library(sgp4 STATIC ${SRCS})
|
set(INCS
|
||||||
|
CoordGeodetic.h
|
||||||
|
CoordTopocentric.h
|
||||||
|
DateTime.h
|
||||||
|
DecayedException.h
|
||||||
|
Eci.h
|
||||||
|
Globals.h
|
||||||
|
Observer.h
|
||||||
|
OrbitalElements.h
|
||||||
|
SatelliteException.h
|
||||||
|
SGP4.h
|
||||||
|
SolarPosition.h
|
||||||
|
TimeSpan.h
|
||||||
|
TleException.h
|
||||||
|
Tle.h
|
||||||
|
Util.h
|
||||||
|
Vector.h
|
||||||
|
)
|
||||||
|
|
||||||
|
add_library(sgp4 STATIC ${SRCS} ${INCS})
|
||||||
|
add_library(sgp4s SHARED ${SRCS} ${INCS})
|
||||||
|
install( TARGETS sgp4s LIBRARY DESTINATION lib )
|
||||||
|
install( FILES ${INCS} DESTINATION include/SGP4 )
|
||||||
|
|
Loading…
Reference in New Issue