6b6238293f
For all source directories outside of simgear/scene, which really depends very hard on osg, avoid using osg classes. This should reenable the use of some basic and scenegraph independent parts of simgear without the the need for osg.
54 lines
1.2 KiB
CMake
54 lines
1.2 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_THREADS_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_THREADS_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_THREADS_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)
|