51 lines
1.1 KiB
CMake
51 lines
1.1 KiB
CMake
|
|
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}
|
|
${SIMGEAR_DEBUG_LIBRARY}
|
|
${PLIB_SG_LIBRARY}
|
|
${PLIB_UL_LIBRARY}
|
|
${ZLIB_LIBRARIES}
|
|
${WINMM_LIBRARY}
|
|
${WINSOCK_LIBRARY}
|
|
${ZLIB_LIBRARIES}
|
|
${RT_LIBRARY}
|
|
)
|
|
|
|
target_link_libraries(MIDGsmooth
|
|
${SIMGEAR_IO_LIBRARY}
|
|
${SIMGEAR_MATH_LIBRARY}
|
|
${SIMGEAR_SERIAL_LIBRARY}
|
|
${SIMGEAR_STRUCTURE_LIBRARY}
|
|
${SIMGEAR_TIMING_LIBRARY}
|
|
${SIMGEAR_DEBUG_LIBRARY}
|
|
${PLIB_SG_LIBRARY}
|
|
${PLIB_UL_LIBRARY}
|
|
${WINMM_LIBRARY}
|
|
${WINSOCK_LIBRARY}
|
|
${RT_LIBRARY}
|
|
)
|
|
|
|
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}
|
|
${PLIB_SG_LIBRARY}
|
|
${PLIB_UL_LIBRARY}
|
|
${WINMM_LIBRARY}
|
|
${WINSOCK_LIBRARY}
|
|
${ZLIB_LIBRARIES}
|
|
${RT_LIBRARY}
|
|
)
|
|
|
|
install(TARGETS GPSsmooth MIDGsmooth UGsmooth RUNTIME DESTINATION bin)
|