2016-05-18 20:32:36 +00:00
|
|
|
CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
|
|
|
|
PROJECT(SGP4)
|
|
|
|
|
|
|
|
file(GLOB SRCS libsgp4/*.cpp)
|
|
|
|
|
|
|
|
include_directories(libsgp4)
|
|
|
|
|
|
|
|
add_library(sgp4 STATIC ${SRCS})
|
|
|
|
add_executable(sattrack sattrack/sattrack.cpp)
|
2017-01-07 12:44:19 +00:00
|
|
|
target_link_libraries(sattrack sgp4 rt)
|
2016-05-18 20:32:36 +00:00
|
|
|
add_executable(runtest runtest/runtest.cpp)
|
2017-01-07 12:44:19 +00:00
|
|
|
target_link_libraries(runtest sgp4 rt)
|
2016-05-18 20:32:36 +00:00
|
|
|
add_executable(passpredict passpredict/passpredict.cpp)
|
2017-01-07 12:44:19 +00:00
|
|
|
target_link_libraries(passpredict sgp4 rt)
|
2016-05-18 20:32:36 +00:00
|
|
|
|
|
|
|
file(COPY SGP4-VER.TLE DESTINATION ${PROJECT_BINARY_DIR})
|