sgp4/libsgp4/CMakeLists.txt

42 lines
779 B
CMake
Raw Normal View History

set(SRCS
2018-08-26 22:37:25 +00:00
CoordGeodetic.cc
CoordTopocentric.cc
DateTime.cc
DecayedException.cc
Eci.cc
Globals.cc
Observer.cc
OrbitalElements.cc
SGP4.cc
SatelliteException.cc
SolarPosition.cc
TimeSpan.cc
Tle.cc
TleException.cc
Util.cc
Vector.cc)
2017-06-25 20:09:34 +00:00
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/libsgp4 )