| 1 |
include(FlightGearComponent) |
| 2 |
|
| 3 |
set(COMMON |
| 4 |
Airplane.cpp |
| 5 |
YASimAtmosphere.cpp |
| 6 |
ControlMap.cpp |
| 7 |
ElectricEngine.cpp |
| 8 |
FGFDM.cpp |
| 9 |
Gear.cpp |
| 10 |
Glue.cpp |
| 11 |
Ground.cpp |
| 12 |
Hitch.cpp |
| 13 |
Hook.cpp |
| 14 |
Integrator.cpp |
| 15 |
Jet.cpp |
| 16 |
Launchbar.cpp |
| 17 |
Model.cpp |
| 18 |
PistonEngine.cpp |
| 19 |
PropEngine.cpp |
| 20 |
Propeller.cpp |
| 21 |
RigidBody.cpp |
| 22 |
Rotor.cpp |
| 23 |
Rotorpart.cpp |
| 24 |
SimpleJet.cpp |
| 25 |
Surface.cpp |
| 26 |
TurbineEngine.cpp |
| 27 |
Turbulence.cpp |
| 28 |
Wing.cpp |
| 29 |
Version.cpp |
| 30 |
yasim-common.cpp |
| 31 |
) |
| 32 |
|
| 33 |
set(SOURCES |
| 34 |
${COMMON} |
| 35 |
YASim.cxx |
| 36 |
FGGround.cpp |
| 37 |
) |
| 38 |
|
| 39 |
flightgear_component(YASim "${SOURCES}") |
| 40 |
|
| 41 |
add_executable(yasim yasim-test.cpp ${COMMON}) |
| 42 |
add_executable(yasim-proptest proptest.cpp ${COMMON}) |
| 43 |
|
| 44 |
target_link_libraries(yasim SimGearCore) |
| 45 |
target_link_libraries(yasim-proptest SimGearCore) |
| 46 |
|
| 47 |
install(TARGETS yasim yasim-proptest RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) |