include(FlightGearComponent)
set(COMMON
- Airplane.cpp
+ Airplane.cpp
Atmosphere.cpp
ControlMap.cpp
FGFDM.cpp
Integrator.cpp
Jet.cpp
Launchbar.cpp
- Math.cpp
Model.cpp
PistonEngine.cpp
PropEngine.cpp
FGGround.cpp
)
-
flightgear_component(YASim "${SOURCES}")
+if(ENABLE_TESTS)
add_executable(yasim yasim-test.cpp ${COMMON})
add_executable(yasim-proptest proptest.cpp ${COMMON})
${SIMGEAR_CORE_LIBRARY_DEPENDENCIES})
install(TARGETS yasim yasim-proptest RUNTIME DESTINATION bin)
+
+endif(ENABLE_TESTS)
+