From 825d6565a4b0007d74c8bfc8aa8e174a2b5ae912 Mon Sep 17 00:00:00 2001 From: Emilian Huminiuc Date: Wed, 28 Mar 2012 14:39:32 +0300 Subject: [PATCH] YASim: enable building of YASim's proptest utility Signed-off-by: Emilian Huminiuc --- src/FDM/YASim/CMakeLists.txt | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/src/FDM/YASim/CMakeLists.txt b/src/FDM/YASim/CMakeLists.txt index d6638966f..f5c11e2a1 100644 --- a/src/FDM/YASim/CMakeLists.txt +++ b/src/FDM/YASim/CMakeLists.txt @@ -1,7 +1,7 @@ include(FlightGearComponent) set(COMMON - Airplane.cpp + Airplane.cpp Atmosphere.cpp ControlMap.cpp FGFDM.cpp @@ -27,20 +27,26 @@ set(COMMON TurbineEngine.cpp Turbulence.cpp Wing.cpp -) + ) set(SOURCES ${COMMON} YASim.cxx FGGround.cpp -) + ) + flightgear_component(YASim "${SOURCES}") - + add_executable(yasim yasim-test.cpp ${COMMON}) +add_executable(yasim-proptest proptest.cpp ${COMMON}) -target_link_libraries(yasim - ${SIMGEAR_CORE_LIBRARIES} - ${SIMGEAR_CORE_LIBRARY_DEPENDENCIES}) +target_link_libraries(yasim + ${SIMGEAR_CORE_LIBRARIES} + ${SIMGEAR_CORE_LIBRARY_DEPENDENCIES}) -install(TARGETS yasim RUNTIME DESTINATION bin) +target_link_libraries(yasim-proptest + ${SIMGEAR_CORE_LIBRARIES} + ${SIMGEAR_CORE_LIBRARY_DEPENDENCIES}) + +install(TARGETS yasim yasim-proptest RUNTIME DESTINATION bin)