]> git.mxchange.org Git - flightgear.git/blob - src/FDM/YASim/CMakeLists.txt
GUI ‘restore defaults’ support.
[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         Model.cpp
17         PistonEngine.cpp
18         PropEngine.cpp
19         Propeller.cpp
20         RigidBody.cpp
21         Rotor.cpp
22         Rotorpart.cpp
23         SimpleJet.cpp
24         Surface.cpp
25         Thruster.cpp
26         TurbineEngine.cpp
27         Turbulence.cpp
28         Wing.cpp
29         Version.cpp
30         )
31
32 set(SOURCES
33         ${COMMON}
34         YASim.cxx
35         FGGround.cpp
36         )
37
38 flightgear_component(YASim  "${SOURCES}")
39
40 if(ENABLE_TESTS)
41 add_executable(yasim yasim-test.cpp ${COMMON})
42 add_executable(yasim-proptest proptest.cpp ${COMMON})
43
44 target_link_libraries(yasim
45                 ${SIMGEAR_CORE_LIBRARIES}
46                 ${SIMGEAR_CORE_LIBRARY_DEPENDENCIES})
47
48 target_link_libraries(yasim-proptest
49                 ${SIMGEAR_CORE_LIBRARIES}
50                 ${SIMGEAR_CORE_LIBRARY_DEPENDENCIES})
51
52 install(TARGETS yasim yasim-proptest RUNTIME DESTINATION bin)
53
54 endif(ENABLE_TESTS)
55