]> git.mxchange.org Git - flightgear.git/blob - src/FDM/YASim/CMakeLists.txt
Fix YAsim linkage.
[flightgear.git] / src / FDM / YASim / CMakeLists.txt
1 include(FlightGearComponent)
2
3 set(COMMON
4         Airplane.cpp
5         Atmosphere.cpp
6         ControlMap.cpp
7         FGFDM.cpp
8         Gear.cpp
9         Glue.cpp
10         Ground.cpp
11         Hitch.cpp
12         Hook.cpp
13         Integrator.cpp
14         Jet.cpp
15         Launchbar.cpp
16         Math.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         Thruster.cpp
27         TurbineEngine.cpp
28         Turbulence.cpp
29         Wing.cpp
30 )
31
32 set(SOURCES
33         ${COMMON}
34         YASim.cxx
35         FGGround.cpp
36 )
37
38 flightgear_component(YASim  "${SOURCES}")
39     
40 add_executable(yasim yasim-test.cpp ${COMMON})
41
42 target_link_libraries(yasim 
43         ${SIMGEAR_CORE_LIBRARIES}
44     ${SIMGEAR_CORE_LIBRARY_DEPENDENCIES})
45
46 install(TARGETS yasim RUNTIME DESTINATION bin)