]> git.mxchange.org Git - flightgear.git/blob - src/FDM/YASim/CMakeLists.txt
YASim: enable building of YASim's proptest utility
[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
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
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)