| 1 |
add_executable(GPSsmooth |
| 2 |
GPSsmooth.cxx GPSsmooth.hxx |
| 3 |
gps_main.cxx |
| 4 |
) |
| 5 |
|
| 6 |
add_executable(MIDGsmooth |
| 7 |
MIDG-II.cxx MIDG-II.hxx |
| 8 |
MIDG_main.cxx |
| 9 |
) |
| 10 |
|
| 11 |
add_executable(UGsmooth |
| 12 |
UGear.cxx UGear.hxx |
| 13 |
UGear_command.cxx UGear_command.hxx |
| 14 |
UGear_telnet.cxx UGear_telnet.hxx |
| 15 |
UGear_main.cxx |
| 16 |
) |
| 17 |
|
| 18 |
target_include_directories(GPSsmooth PRIVATE ${PLIB_INCLUDE_DIR}) |
| 19 |
target_include_directories(MIDGsmooth PRIVATE ${PLIB_INCLUDE_DIR}) |
| 20 |
target_include_directories(UGsmooth PRIVATE ${PLIB_INCLUDE_DIR}) |
| 21 |
|
| 22 |
target_link_libraries(GPSsmooth |
| 23 |
SimGearCore |
| 24 |
${PLIB_SG_LIBRARY} |
| 25 |
${PLIB_UL_LIBRARY} |
| 26 |
) |
| 27 |
|
| 28 |
target_link_libraries(MIDGsmooth |
| 29 |
SimGearCore |
| 30 |
${PLIB_SG_LIBRARY} |
| 31 |
${PLIB_UL_LIBRARY} |
| 32 |
) |
| 33 |
|
| 34 |
target_link_libraries(UGsmooth |
| 35 |
SimGearCore |
| 36 |
${PLIB_SG_LIBRARY} |
| 37 |
${PLIB_UL_LIBRARY} |
| 38 |
${ZLIB_LIBRARY} |
| 39 |
) |
| 40 |
|
| 41 |
install(TARGETS GPSsmooth MIDGsmooth UGsmooth RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) |