]> git.mxchange.org Git - simgear.git/blobdiff - simgear/math/CMakeLists.txt
canvas::Text: get maximum width (if displayed on a single line).
[simgear.git] / simgear / math / CMakeLists.txt
index b01f9259f8d9a108012e982deaefc8e5f5f409de..71a61cead25703b49866fbeb99b6dcadff4e1a2a 100644 (file)
@@ -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
@@ -30,28 +31,20 @@ set(HEADERS
     leastsqs.hxx
     sg_geodesy.hxx
     sg_types.hxx
-       sg_random.h
+    sg_random.h
     )
 
 set(SOURCES 
-    SGGeod.cxx
     SGGeodesy.cxx
     interpolater.cxx
     leastsqs.cxx
-       sg_random.c
+    sg_random.c
     )
 
 simgear_component(math math "${SOURCES}" "${HEADERS}")
 
 if(ENABLE_TESTS)
 
-if (SIMGEAR_SHARED)
-    set(TEST_LIBS SimGearCore)
-else()
-    set(TEST_LIBS sgmath sgstructure sgdebug)
-endif()
-
-
 add_executable(math_test SGMathTest.cxx)
 target_link_libraries(math_test ${TEST_LIBS})
 add_test(math ${EXECUTABLE_OUTPUT_PATH}/math_test)
@@ -59,4 +52,5 @@ add_test(math ${EXECUTABLE_OUTPUT_PATH}/math_test)
 add_executable(geometry_test SGGeometryTest.cxx)
 target_link_libraries(geometry_test ${TEST_LIBS})
 add_test(geometry ${EXECUTABLE_OUTPUT_PATH}/geometry_test)
+
 endif(ENABLE_TESTS)