2011-01-05 16:19:42 +00:00
|
|
|
|
|
|
|
add_executable(GPSsmooth gps.cxx gps_main.cxx)
|
|
|
|
add_executable(MIDGsmooth MIDG-II.cxx MIDG_main.cxx)
|
|
|
|
add_executable(UGsmooth UGear.cxx UGear_command.cxx UGear_main.cxx UGear_telnet.cxx)
|
|
|
|
|
|
|
|
target_link_libraries(GPSsmooth
|
|
|
|
${SIMGEAR_IO_LIBRARY}
|
|
|
|
${SIMGEAR_MISC_LIBRARY}
|
|
|
|
${SIMGEAR_STRUCTURE_LIBRARY}
|
|
|
|
${SIMGEAR_TIMING_LIBRARY}
|
2011-01-13 22:13:58 +00:00
|
|
|
${SIMGEAR_DEBUG_LIBRARY}
|
2011-01-05 16:19:42 +00:00
|
|
|
${PLIB_SG_LIBRARY}
|
|
|
|
${PLIB_UL_LIBRARY}
|
|
|
|
${ZLIB_LIBRARIES}
|
|
|
|
${WINMM_LIBRARY}
|
|
|
|
${WINSOCK_LIBRARY}
|
|
|
|
${ZLIB_LIBRARIES}
|
2011-08-31 10:08:52 +00:00
|
|
|
${OPENTHREADS_LIBRARIES}
|
2011-01-10 22:22:24 +00:00
|
|
|
${RT_LIBRARY}
|
2011-01-05 16:19:42 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(MIDGsmooth
|
|
|
|
${SIMGEAR_IO_LIBRARY}
|
|
|
|
${SIMGEAR_MATH_LIBRARY}
|
|
|
|
${SIMGEAR_SERIAL_LIBRARY}
|
|
|
|
${SIMGEAR_STRUCTURE_LIBRARY}
|
|
|
|
${SIMGEAR_TIMING_LIBRARY}
|
2011-01-13 22:13:58 +00:00
|
|
|
${SIMGEAR_DEBUG_LIBRARY}
|
2011-08-31 10:08:52 +00:00
|
|
|
${OPENTHREADS_LIBRARIES}
|
2011-01-05 16:19:42 +00:00
|
|
|
${PLIB_SG_LIBRARY}
|
|
|
|
${PLIB_UL_LIBRARY}
|
|
|
|
${WINMM_LIBRARY}
|
|
|
|
${WINSOCK_LIBRARY}
|
2011-01-10 22:22:24 +00:00
|
|
|
${RT_LIBRARY}
|
2011-01-05 16:19:42 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(UGsmooth
|
|
|
|
${SIMGEAR_DEBUG_LIBRARY}
|
|
|
|
${SIMGEAR_IO_LIBRARY}
|
|
|
|
${SIMGEAR_MATH_LIBRARY}
|
|
|
|
${SIMGEAR_MISC_LIBRARY}
|
|
|
|
${SIMGEAR_SERIAL_LIBRARY}
|
|
|
|
${SIMGEAR_STRUCTURE_LIBRARY}
|
|
|
|
${SIMGEAR_TIMING_LIBRARY}
|
2011-08-31 10:08:52 +00:00
|
|
|
${OPENTHREADS_LIBRARIES}
|
2011-01-05 16:19:42 +00:00
|
|
|
${PLIB_SG_LIBRARY}
|
|
|
|
${PLIB_UL_LIBRARY}
|
|
|
|
${WINMM_LIBRARY}
|
|
|
|
${WINSOCK_LIBRARY}
|
|
|
|
${ZLIB_LIBRARIES}
|
2011-01-10 22:22:24 +00:00
|
|
|
${RT_LIBRARY}
|
2011-01-05 16:19:42 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
install(TARGETS GPSsmooth MIDGsmooth UGsmooth RUNTIME DESTINATION bin)
|