549c5eccb9
Factor out and use this core simgear depenency library cmake variable.
30 lines
732 B
CMake
30 lines
732 B
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_CORE_LIBRARIES}
|
|
${PLIB_SG_LIBRARY}
|
|
${PLIB_UL_LIBRARY}
|
|
${SIMGEAR_CORE_LIBRARY_DEPENDENCIES}
|
|
${WINMM_LIBRARY}
|
|
)
|
|
|
|
target_link_libraries(MIDGsmooth
|
|
${SIMGEAR_CORE_LIBRARIES}
|
|
${PLIB_SG_LIBRARY}
|
|
${PLIB_UL_LIBRARY}
|
|
${WINMM_LIBRARY}
|
|
${SIMGEAR_CORE_LIBRARY_DEPENDENCIES}
|
|
)
|
|
|
|
target_link_libraries(UGsmooth
|
|
${SIMGEAR_CORE_LIBRARIES}
|
|
${PLIB_SG_LIBRARY}
|
|
${PLIB_UL_LIBRARY}
|
|
${WINMM_LIBRARY}
|
|
${SIMGEAR_CORE_LIBRARY_DEPENDENCIES}
|
|
)
|
|
|
|
install(TARGETS GPSsmooth MIDGsmooth UGsmooth RUNTIME DESTINATION bin)
|