|
| find_package (Boost REQUIRED) find_package(Eigen3 REQUIRED) set(BASE_HDRS Array.h Circular.h CircularVector2.h CircularVector3.h Function.h GnatNearestNeighbors.h Kalman.h KdtreeBoundingBoxNearestNeighbors.h KdtreeNearestNeighbors.h LinearNearestNeighbors.h LowPass.h Matrix.h MatrixBaseAddons.h NestedFunction.h Pid.h Polynomial.h PolynomialQuaternion.h Quaternion.h QuaternionBaseAddons.h Real.h Rotation.h Spatial.h Spline.h SplineQuaternion.h Transform.h TransformAddons.h TrapezoidalVelocity.h TypeTraits.h Unit.h Vector.h) list(APPEND HDRS $ |
|
| set (METRICS_HDRS metrics/L2.h metrics/L2Squared.h) list(APPEND HDRS $ |
|
| set (SPATIAL_HDRS spatial/ArticulatedBodyInertia.h spatial/ArticulatedBodyInertia.hxx spatial/ForceVector.h spatial/ForceVector.hxx spatial/MotionVector.h spatial/MotionVector.hxx spatial/PlueckerTransform.h spatial/PlueckerTransform.hxx spatial/RigidBodyInertia.h spatial/RigidBodyInertia.hxx) list(APPEND HDRS $ |
|
| if (NOT CMAKE_VERSION VERSION_LESS 3.0) add_library(math INTERFACE) add_custom_target(math_sources SOURCES $ |
|
| else () add_library(math STATIC $ |
|
dummy cpp | endif () if(CMAKE_SIZEOF_VOID_P EQUAL 4) target_compile_definitions(math INTERFACE -DEIGEN_DONT_ALIGN_STATICALLY) endif() if(NOT CMAKE_VERSION VERSION_LESS 3.8) target_compile_features(math INTERFACE cxx_std_11) endif() target_include_directories(math INTERFACE $< BUILD_INTERFACE |
|