X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fmath%2FCMakeLists.txt;h=71a61cead25703b49866fbeb99b6dcadff4e1a2a;hb=584ee1364f25e5c3795f9ff4633a792cba39bfc7;hp=49e1b7852190eaf84b4840b8e2e6bfae2eaee719;hpb=7a52c2fa71355631a559d74e0860fa6c5efa424e;p=simgear.git diff --git a/simgear/math/CMakeLists.txt b/simgear/math/CMakeLists.txt index 49e1b785..71a61cea 100644 --- a/simgear/math/CMakeLists.txt +++ b/simgear/math/CMakeLists.txt @@ -1,8 +1,7 @@ include (SimGearComponent) -set(HEADERS - Math.hxx +set(HEADERS SGBox.hxx SGCMath.hxx SGGeoc.hxx @@ -13,6 +12,7 @@ set(HEADERS SGIntersect.hxx SGLimits.hxx SGLineSegment.hxx + SGLocation.hxx SGMath.hxx SGMathFwd.hxx SGMatrix.hxx @@ -20,6 +20,7 @@ set(HEADERS SGPlane.hxx SGQuat.hxx SGRay.hxx + SGRect.hxx SGSphere.hxx SGTriangle.hxx SGVec2.hxx @@ -28,29 +29,28 @@ set(HEADERS beziercurve.hxx interpolater.hxx leastsqs.hxx - project.hxx sg_geodesy.hxx sg_types.hxx - sg_random.h + sg_random.h ) set(SOURCES - SGGeod.cxx SGGeodesy.cxx interpolater.cxx leastsqs.cxx - project.cxx - sg_random.c + sg_random.c ) simgear_component(math math "${SOURCES}" "${HEADERS}") if(ENABLE_TESTS) + add_executable(math_test SGMathTest.cxx) -target_link_libraries(math_test sgmath sgstructure sgdebug) +target_link_libraries(math_test ${TEST_LIBS}) add_test(math ${EXECUTABLE_OUTPUT_PATH}/math_test) add_executable(geometry_test SGGeometryTest.cxx) -target_link_libraries(geometry_test sgmath sgstructure sgdebug) +target_link_libraries(geometry_test ${TEST_LIBS}) add_test(geometry ${EXECUTABLE_OUTPUT_PATH}/geometry_test) + endif(ENABLE_TESTS)