]> git.mxchange.org Git - flightgear.git/commitdiff
YASim: enable building of YASim's proptest utility
authorEmilian Huminiuc <emilianh@gmail.com>
Wed, 28 Mar 2012 11:39:32 +0000 (14:39 +0300)
committerJames Turner <zakalawe@mac.com>
Thu, 29 Mar 2012 08:29:29 +0000 (09:29 +0100)
Signed-off-by: Emilian Huminiuc <emilianh@gmail.com>
src/FDM/YASim/CMakeLists.txt

index d6638966f02024933a42db001f602bdbdf9d6671..f5c11e2a13e5ed1b4da6f76ab1dc4233672bd9fb 100644 (file)
@@ -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})
+target_link_libraries(yasim-proptest
+               ${SIMGEAR_CORE_LIBRARIES}
+               ${SIMGEAR_CORE_LIBRARY_DEPENDENCIES})
 
-install(TARGETS yasim RUNTIME DESTINATION bin)
+install(TARGETS yasim yasim-proptest RUNTIME DESTINATION bin)