Enable more unit-tests via CTest
This commit is contained in:
@@ -44,3 +44,4 @@ target_link_libraries(test_http
|
|||||||
sgio sgstructure sgtiming sgmisc sgdebug
|
sgio sgstructure sgtiming sgmisc sgdebug
|
||||||
${RT_LIBRARY})
|
${RT_LIBRARY})
|
||||||
|
|
||||||
|
add_test(http ${EXECUTABLE_OUTPUT_PATH}/test_http)
|
||||||
@@ -5,3 +5,8 @@ set(HEADERS magvar.hxx coremag.hxx)
|
|||||||
set(SOURCES magvar.cxx coremag.cxx)
|
set(SOURCES magvar.cxx coremag.cxx)
|
||||||
|
|
||||||
simgear_component(magvar magvar "${SOURCES}" "${HEADERS}")
|
simgear_component(magvar magvar "${SOURCES}" "${HEADERS}")
|
||||||
|
|
||||||
|
|
||||||
|
add_executable(test_magvar testmagvar.cxx )
|
||||||
|
target_link_libraries(test_magvar sgmagvar)
|
||||||
|
|
||||||
|
|||||||
@@ -45,3 +45,10 @@ set(SOURCES
|
|||||||
|
|
||||||
simgear_component(math math "${SOURCES}" "${HEADERS}")
|
simgear_component(math math "${SOURCES}" "${HEADERS}")
|
||||||
|
|
||||||
|
add_executable(math_test SGMathTest.cxx)
|
||||||
|
target_link_libraries(math_test sgmath sgstructure sgdebug)
|
||||||
|
add_test(math ${EXECUTABLE_OUTPUT_PATH}/math_test)
|
||||||
|
|
||||||
|
add_executable(geometry_test SGGeometrytest.cxx)
|
||||||
|
target_link_libraries(geometry_test sgmath sgstructure sgdebug)
|
||||||
|
add_test(geometry ${EXECUTABLE_OUTPUT_PATH}/geometry_test)
|
||||||
|
|||||||
Reference in New Issue
Block a user