YASim: enable building of YASim's proptest utility
Signed-off-by: Emilian Huminiuc <emilianh@gmail.com>
This commit is contained in:
parent
5ef15023fc
commit
825d6565a4
1 changed files with 14 additions and 8 deletions
|
@ -27,20 +27,26 @@ set(COMMON
|
||||||
TurbineEngine.cpp
|
TurbineEngine.cpp
|
||||||
Turbulence.cpp
|
Turbulence.cpp
|
||||||
Wing.cpp
|
Wing.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
set(SOURCES
|
set(SOURCES
|
||||||
${COMMON}
|
${COMMON}
|
||||||
YASim.cxx
|
YASim.cxx
|
||||||
FGGround.cpp
|
FGGround.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
flightgear_component(YASim "${SOURCES}")
|
flightgear_component(YASim "${SOURCES}")
|
||||||
|
|
||||||
add_executable(yasim yasim-test.cpp ${COMMON})
|
add_executable(yasim yasim-test.cpp ${COMMON})
|
||||||
|
add_executable(yasim-proptest proptest.cpp ${COMMON})
|
||||||
|
|
||||||
target_link_libraries(yasim
|
target_link_libraries(yasim
|
||||||
${SIMGEAR_CORE_LIBRARIES}
|
${SIMGEAR_CORE_LIBRARIES}
|
||||||
${SIMGEAR_CORE_LIBRARY_DEPENDENCIES})
|
${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)
|
||||||
|
|
Loading…
Add table
Reference in a new issue