| 1 |
include(FlightGearComponent) |
| 2 |
|
| 3 |
set(SOURCES |
| 4 |
ATC-Inputs.cxx |
| 5 |
ATC-Main.cxx |
| 6 |
ATC-Outputs.cxx |
| 7 |
AV400.cxx |
| 8 |
AV400Sim.cxx |
| 9 |
AV400WSim.cxx |
| 10 |
atlas.cxx |
| 11 |
garmin.cxx |
| 12 |
generic.cxx |
| 13 |
HTTPClient.cxx |
| 14 |
DNSClient.cxx |
| 15 |
flarm.cxx |
| 16 |
igc.cxx |
| 17 |
joyclient.cxx |
| 18 |
jsclient.cxx |
| 19 |
lfsglass.cxx |
| 20 |
native.cxx |
| 21 |
native_structs.cxx |
| 22 |
native_ctrls.cxx |
| 23 |
native_fdm.cxx |
| 24 |
native_gui.cxx |
| 25 |
nmea.cxx |
| 26 |
opengc.cxx |
| 27 |
propsProtocol.cxx |
| 28 |
protocol.cxx |
| 29 |
pve.cxx |
| 30 |
ray.cxx |
| 31 |
rul.cxx |
| 32 |
) |
| 33 |
|
| 34 |
set(HEADERS |
| 35 |
ATC-Inputs.hxx |
| 36 |
ATC-Main.hxx |
| 37 |
ATC-Outputs.hxx |
| 38 |
AV400.hxx |
| 39 |
AV400Sim.hxx |
| 40 |
AV400WSim.hxx |
| 41 |
atlas.hxx |
| 42 |
garmin.hxx |
| 43 |
generic.hxx |
| 44 |
HTTPClient.hxx |
| 45 |
DNSClient.hxx |
| 46 |
flarm.hxx |
| 47 |
igc.hxx |
| 48 |
joyclient.hxx |
| 49 |
jsclient.hxx |
| 50 |
lfsglass.hxx |
| 51 |
native.hxx |
| 52 |
native_ctrls.hxx |
| 53 |
native_ctrls.hxx |
| 54 |
native_fdm.hxx |
| 55 |
native_gui.hxx |
| 56 |
nmea.hxx |
| 57 |
opengc.hxx |
| 58 |
propsProtocol.hxx |
| 59 |
protocol.hxx |
| 60 |
pve.hxx |
| 61 |
ray.hxx |
| 62 |
rul.hxx |
| 63 |
) |
| 64 |
|
| 65 |
if (CycloneDDS_FOUND) |
| 66 |
list(APPEND SOURCES |
| 67 |
dds_props.cxx |
| 68 |
) |
| 69 |
|
| 70 |
list(APPEND HEADERS |
| 71 |
dds_props.hxx |
| 72 |
) |
| 73 |
endif() |
| 74 |
|
| 75 |
if(ENABLE_IAX) |
| 76 |
list(APPEND SOURCES fgcom.cxx) |
| 77 |
list(APPEND HEADERS fgcom.hxx) |
| 78 |
endif() |
| 79 |
|
| 80 |
flightgear_component(Network "${SOURCES}" "${HEADERS}") |
| 81 |
|
| 82 |
if (CycloneDDS_FOUND) |
| 83 |
add_subdirectory(DDS) |
| 84 |
endif() |
| 85 |
|
| 86 |
if(RTI_FOUND) |
| 87 |
add_subdirectory(HLA) |
| 88 |
endif() |
| 89 |
|
| 90 |
add_subdirectory(http) |
| 91 |
|
| 92 |
if(ENABLE_SWIFT) |
| 93 |
add_subdirectory(Swift) |
| 94 |
endif() |