From 5946204b149a6b125b2b7f4082639e724fec7071 Mon Sep 17 00:00:00 2001 From: John Dupuy Date: Mon, 6 Nov 2023 13:44:55 -0600 Subject: [PATCH] Reverted CMakeLists.txt --- CMakeLists.txt | 627 ++++++++++++++++++++++++------------------------- 1 file changed, 312 insertions(+), 315 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 95c5fab..c7ce907 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -5,301 +5,19 @@ project(OndselSolver VERSION 1.0.1 DESCRIPTION "Assembly Constraints and Multibo set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD_REQUIRED True) -set(ONDSELSOLVER_HEADERS - OndselSolver/AbsConstraint.h - OndselSolver/Abs.h - OndselSolver/AccICKineNewtonRaphson.h - OndselSolver/AccICNewtonRaphson.h - OndselSolver/AccKineNewtonRaphson.h - OndselSolver/AccNewtonRaphson.h - OndselSolver/AngleJoint.h - OndselSolver/AngleZIecJec.h - OndselSolver/AngleZIeqcJec.h - OndselSolver/AngleZIeqcJeqc.h - OndselSolver/AnyGeneralSpline.h - OndselSolver/AnyPosICNewtonRaphson.h - OndselSolver/APIExport.h - OndselSolver/ArcSine.h - OndselSolver/ArcTan2.h - OndselSolver/ArcTan.h - OndselSolver/Array.h - OndselSolver/ASMTAnimationParameters.h - OndselSolver/ASMTAssembly.h - OndselSolver/ASMTConstantGravity.h - OndselSolver/ASMTConstraintSet.h - OndselSolver/ASMTCylindricalJoint.h - OndselSolver/ASMTExtrusion.h - OndselSolver/ASMTFixedJoint.h - OndselSolver/ASMTForceTorque.h - OndselSolver/ASMTGeneralMotion.h - OndselSolver/ASMTItem.h - OndselSolver/ASMTItemIJ.h - OndselSolver/ASMTJoint.h - OndselSolver/ASMTKinematicIJ.h - OndselSolver/ASMTMarker.h - OndselSolver/ASMTMotion.h - OndselSolver/ASMTNoRotationJoint.h - OndselSolver/ASMTPart.h - OndselSolver/ASMTPointInLineJoint.h - OndselSolver/ASMTPointInPlaneJoint.h - OndselSolver/ASMTPrincipalMassMarker.h - OndselSolver/ASMTRefCurve.h - OndselSolver/ASMTRefItem.h - OndselSolver/ASMTRefPoint.h - OndselSolver/ASMTRefSurface.h - OndselSolver/ASMTRevoluteJoint.h - OndselSolver/ASMTRotationalMotion.h - OndselSolver/ASMTSimulationParameters.h - OndselSolver/ASMTSpatialContainer.h - OndselSolver/ASMTSpatialItem.h - OndselSolver/ASMTSphericalJoint.h - OndselSolver/ASMTTime.h - OndselSolver/ASMTTranslationalJoint.h - OndselSolver/ASMTTranslationalMotion.h - OndselSolver/ASMTUniversalJoint.h - OndselSolver/AtPointConstraintIJ.h - OndselSolver/AtPointConstraintIqcJc.h - OndselSolver/AtPointConstraintIqcJqc.h - OndselSolver/AtPointConstraintIqctJqc.h - OndselSolver/AtPointJoint.h - OndselSolver/BasicIntegrator.h - OndselSolver/BasicQuasiIntegrator.h - OndselSolver/BasicUserFunction.h - OndselSolver/CADSystem.h - OndselSolver/CartesianFrame.h - OndselSolver/CompoundJoint.h - OndselSolver/ConstantGravity.h - OndselSolver/Constant.h - OndselSolver/ConstantVelocityJoint.h - OndselSolver/Constraint.h - OndselSolver/ConstraintIJ.h - OndselSolver/ConstVelConstraintIJ.h - OndselSolver/ConstVelConstraintIqcJc.h - OndselSolver/ConstVelConstraintIqcJqc.h - OndselSolver/corecrt_math_defines.h - OndselSolver/Cosine.h - OndselSolver/CREATE.h - OndselSolver/CylindricalJoint.h - OndselSolver/CylSphJoint.h - OndselSolver/DiagonalMatrix.h - OndselSolver/DifferenceOperator.h - OndselSolver/DifferentiatedGeneralSpline.h - OndselSolver/DirectionCosineConstraintIJ.h - OndselSolver/DirectionCosineConstraintIqcJc.h - OndselSolver/DirectionCosineConstraintIqcJqc.h - OndselSolver/DirectionCosineConstraintIqctJqc.h - OndselSolver/DirectionCosineIecJec.h - OndselSolver/DirectionCosineIeqcJec.h - OndselSolver/DirectionCosineIeqcJeqc.h - OndselSolver/DirectionCosineIeqctJeqc.h - OndselSolver/DiscontinuityError.h - OndselSolver/DispCompIecJecIe.h - OndselSolver/DispCompIecJecKec.h - OndselSolver/DispCompIecJecKeqc.h - OndselSolver/DispCompIecJecO.h - OndselSolver/DispCompIeqcJecIe.h - OndselSolver/DispCompIeqcJecKeqc.h - OndselSolver/DispCompIeqcJecO.h - OndselSolver/DispCompIeqcJeqcIe.h - OndselSolver/DispCompIeqcJeqcKeqc.h - OndselSolver/DispCompIeqcJeqcKeqct.h - OndselSolver/DispCompIeqcJeqcO.h - OndselSolver/DispCompIeqctJeqcIe.h - OndselSolver/DispCompIeqctJeqcKeqct.h - OndselSolver/DispCompIeqctJeqcO.h - OndselSolver/DistanceConstraintIJ.h - OndselSolver/DistanceConstraintIqcJc.h - OndselSolver/DistanceConstraintIqcJqc.h - OndselSolver/DistanceConstraintIqctJqc.h - OndselSolver/DistancexyConstraintIJ.h - OndselSolver/DistancexyConstraintIqcJc.h - OndselSolver/DistancexyConstraintIqcJqc.h - OndselSolver/DistIecJec.h - OndselSolver/DistIeqcJec.h - OndselSolver/DistIeqcJeqc.h - OndselSolver/DistIeqctJeqc.h - OndselSolver/DistxyIecJec.h - OndselSolver/DistxyIeqcJec.h - OndselSolver/DistxyIeqcJeqc.h - OndselSolver/DistxyIeqctJeqc.h - OndselSolver/EigenDecomposition.h - OndselSolver/EndFramec.h - OndselSolver/EndFrameqc.h - OndselSolver/EndFrameqct2.h - OndselSolver/EndFrameqct.h - OndselSolver/enum.h - OndselSolver/EulerAnglesDDot.h - OndselSolver/EulerAnglesDot.h - OndselSolver/EulerAngles.h - OndselSolver/EulerAngleszxzDDot.h - OndselSolver/EulerAngleszxzDot.h - OndselSolver/EulerAngleszxz.h - OndselSolver/EulerArray.h - OndselSolver/EulerConstraint.h - OndselSolver/EulerParametersDDot.h - OndselSolver/EulerParametersDot.h - OndselSolver/EulerParameters.h - OndselSolver/Exponential.h - OndselSolver/ExpressionX.h - OndselSolver/ExternalSystem.h - OndselSolver/FixedJoint.h - OndselSolver/ForceTorqueData.h - OndselSolver/ForceTorqueItem.h - OndselSolver/FullColumn.h - OndselSolver/FullMatrix.h - OndselSolver/FullMotion.h - OndselSolver/FullRow.h - OndselSolver/FullVector.h - OndselSolver/FunctionFromData.h - OndselSolver/Function.h - OndselSolver/FunctionWithManyArgs.h - OndselSolver/FunctionXcParameter.h - OndselSolver/FunctionX.h - OndselSolver/FunctionXY.h - OndselSolver/GearConstraintIJ.h - OndselSolver/GearConstraintIqcJc.h - OndselSolver/GearConstraintIqcJqc.h - OndselSolver/GearJoint.h - OndselSolver/GEFullMatFullPv.h - OndselSolver/GEFullMat.h - OndselSolver/GEFullMatParPv.h - OndselSolver/GeneralSpline.h - OndselSolver/GESpMatFullPv.h - OndselSolver/GESpMatFullPvPosIC.h - OndselSolver/GESpMat.h - OndselSolver/GESpMatParPv.h - OndselSolver/GESpMatParPvMarkoFast.h - OndselSolver/GESpMatParPvMarko.h - OndselSolver/GESpMatParPvPrecise.h - OndselSolver/ICKineIntegrator.h - OndselSolver/IndependentVariable.h - OndselSolver/InLineJoint.h - OndselSolver/InPlaneJoint.h - OndselSolver/Integrator.h - OndselSolver/IntegratorInterface.h - OndselSolver/Item.h - OndselSolver/Joint.h - OndselSolver/KineIntegrator.h - OndselSolver/KinematicIeJe.h - OndselSolver/LDUFullMat.h - OndselSolver/LDUFullMatParPv.h - OndselSolver/LDUSpMat.h - OndselSolver/LDUSpMatParPv.h - OndselSolver/LDUSpMatParPvMarko.h - OndselSolver/LDUSpMatParPvPrecise.h - OndselSolver/LinearMultiStepMethod.h - OndselSolver/LineInPlaneJoint.h - OndselSolver/Ln.h - OndselSolver/Log10.h - OndselSolver/LogN.h - OndselSolver/MarkerFrame.h - OndselSolver/MatrixDecomposition.h - OndselSolver/MatrixGaussElimination.h - OndselSolver/MatrixLDU.h - OndselSolver/MatrixSolver.h - OndselSolver/MaximumIterationError.h - OndselSolver/MbdMath.h - OndselSolver/MBDynBlock.h - OndselSolver/MBDynBody.h - OndselSolver/MBDynControlData.h - OndselSolver/MBDynData.h - OndselSolver/MBDynElement.h - OndselSolver/MBDynInitialValue.h - OndselSolver/MBDynItem.h - OndselSolver/MBDynJoint.h - OndselSolver/MBDynMarker.h - OndselSolver/MBDynNode.h - OndselSolver/MBDynReference.h - OndselSolver/MBDynStructural.h - OndselSolver/MBDynSystem.h - OndselSolver/MomentOfInertiaSolver.h - OndselSolver/Negative.h - OndselSolver/NewtonRaphsonError.h - OndselSolver/NewtonRaphson.h - OndselSolver/NoRotationJoint.h - OndselSolver/NotKinematicError.h - OndselSolver/Numeric.h - OndselSolver/OndselSolver.h - OndselSolver/OrbitAnglezIecJec.h - OndselSolver/OrbitAnglezIeqcJec.h - OndselSolver/OrbitAnglezIeqcJeqc.h - OndselSolver/Orientation.h - OndselSolver/ParallelAxesJoint.h - OndselSolver/PartFrame.h - OndselSolver/Part.h - OndselSolver/PerpendicularJoint.h - OndselSolver/PlanarJoint.h - OndselSolver/PointInLineJoint.h - OndselSolver/PointInPlaneJoint.h - OndselSolver/PosICKineNewtonRaphson.h - OndselSolver/PosICNewtonRaphson.h - OndselSolver/PosKineNewtonRaphson.h - OndselSolver/PosNewtonRaphson.h - OndselSolver/PosVelAccData.h - OndselSolver/Power.h - OndselSolver/PrescribedMotion.h - OndselSolver/Product.h - OndselSolver/QuasiIntegrator.h - OndselSolver/RackPinConstraintIJ.h - OndselSolver/RackPinConstraintIqcJc.h - OndselSolver/RackPinConstraintIqcJqc.h - OndselSolver/RackPinJoint.h - OndselSolver/Reciprocal.h - OndselSolver/RedundantConstraint.h - OndselSolver/resource.h - OndselSolver/RevCylJoint.h - OndselSolver/RevoluteJoint.h - OndselSolver/RowTypeMatrix.h - OndselSolver/ScalarNewtonRaphson.h - OndselSolver/ScrewConstraintIJ.h - OndselSolver/ScrewConstraintIqcJc.h - OndselSolver/ScrewConstraintIqcJqc.h - OndselSolver/ScrewJoint.h - OndselSolver/SimulationStoppingError.h - OndselSolver/Sine.h - OndselSolver/SingularMatrixError.h - OndselSolver/Solver.h - OndselSolver/SparseColumn.h - OndselSolver/SparseMatrix.h - OndselSolver/SparseRow.h - OndselSolver/SparseVector.h - OndselSolver/SphericalJoint.h - OndselSolver/SphSphJoint.h - OndselSolver/StableBackwardDifference.h - OndselSolver/StateData.h - OndselSolver/Sum.h - OndselSolver/Symbolic.h - OndselSolver/SymbolicParser.h - OndselSolver/SyntaxError.h - OndselSolver/System.h - OndselSolver/SystemNewtonRaphson.h - OndselSolver/SystemSolver.h - OndselSolver/Time.h - OndselSolver/TooManyTriesError.h - OndselSolver/TooSmallStepSizeError.h - OndselSolver/TranslationalJoint.h - OndselSolver/TranslationConstraintIJ.h - OndselSolver/TranslationConstraintIqcJc.h - OndselSolver/TranslationConstraintIqcJqc.h - OndselSolver/TranslationConstraintIqctJqc.h - OndselSolver/Translation.h - OndselSolver/Units.h - OndselSolver/UniversalJoint.h - OndselSolver/UserFunction.h - OndselSolver/Variable.h - OndselSolver/VectorNewtonRaphson.h - OndselSolver/VelICKineSolver.h - OndselSolver/VelICSolver.h - OndselSolver/VelKineSolver.h - OndselSolver/VelSolver.h - OndselSolver/ZRotation.h - OndselSolver/ZTranslation.h -) +include(GNUInstallDirs) -set(ONDSELSOLVER_EXPORT +add_library(OndselSolver STATIC) + +set(ONDSELSOLVER_SRC + OndselSolver/Array.cpp + OndselSolver/FullVector.cpp + OndselSolver/RowTypeMatrix.cpp + OndselSolver/FullColumn.cpp OndselSolver/FullMatrix.cpp - OndselSolver/AbsConstraint.cpp + OndselSolver/FullRow.cpp OndselSolver/Abs.cpp + OndselSolver/AbsConstraint.cpp OndselSolver/AccICKineNewtonRaphson.cpp OndselSolver/AccICNewtonRaphson.cpp OndselSolver/AccKineNewtonRaphson.cpp @@ -311,9 +29,8 @@ set(ONDSELSOLVER_EXPORT OndselSolver/AnyGeneralSpline.cpp OndselSolver/AnyPosICNewtonRaphson.cpp OndselSolver/ArcSine.cpp - OndselSolver/ArcTan2.cpp OndselSolver/ArcTan.cpp - OndselSolver/Array.cpp + OndselSolver/ArcTan2.cpp OndselSolver/ASMTAnimationParameters.cpp OndselSolver/ASMTAssembly.cpp OndselSolver/ASMTConstantGravity.cpp @@ -415,8 +132,8 @@ set(ONDSELSOLVER_EXPORT OndselSolver/EigenDecomposition.cpp OndselSolver/EndFramec.cpp OndselSolver/EndFrameqc.cpp - OndselSolver/EndFrameqct2.cpp OndselSolver/EndFrameqct.cpp + OndselSolver/EndFrameqct2.cpp OndselSolver/EulerAngles.cpp OndselSolver/EulerAnglesDDot.cpp OndselSolver/EulerAnglesDot.cpp @@ -434,15 +151,12 @@ set(ONDSELSOLVER_EXPORT OndselSolver/FixedJoint.cpp OndselSolver/ForceTorqueData.cpp OndselSolver/ForceTorqueItem.cpp - OndselSolver/FullColumn.cpp OndselSolver/FullMotion.cpp - OndselSolver/FullRow.cpp - OndselSolver/FullVector.cpp OndselSolver/Function.cpp OndselSolver/FunctionFromData.cpp OndselSolver/FunctionWithManyArgs.cpp - OndselSolver/FunctionXcParameter.cpp OndselSolver/FunctionX.cpp + OndselSolver/FunctionXcParameter.cpp OndselSolver/FunctionXY.cpp OndselSolver/GearConstraintIJ.cpp OndselSolver/GearConstraintIqcJc.cpp @@ -507,7 +221,6 @@ set(ONDSELSOLVER_EXPORT OndselSolver/NoRotationJoint.cpp OndselSolver/NotKinematicError.cpp OndselSolver/Numeric.cpp - OndselSolver/OndselSolver.cpp OndselSolver/OrbitAnglezIecJec.cpp OndselSolver/OrbitAnglezIeqcJec.cpp OndselSolver/OrbitAnglezIeqcJeqc.cpp @@ -536,7 +249,6 @@ set(ONDSELSOLVER_EXPORT OndselSolver/RedundantConstraint.cpp OndselSolver/RevCylJoint.cpp OndselSolver/RevoluteJoint.cpp - OndselSolver/RowTypeMatrix.cpp OndselSolver/ScalarNewtonRaphson.cpp OndselSolver/ScrewConstraintIJ.cpp OndselSolver/ScrewConstraintIqcJc.cpp @@ -564,12 +276,12 @@ set(ONDSELSOLVER_EXPORT OndselSolver/Time.cpp OndselSolver/TooManyTriesError.cpp OndselSolver/TooSmallStepSizeError.cpp + OndselSolver/Translation.cpp OndselSolver/TranslationalJoint.cpp OndselSolver/TranslationConstraintIJ.cpp OndselSolver/TranslationConstraintIqcJc.cpp OndselSolver/TranslationConstraintIqcJqc.cpp OndselSolver/TranslationConstraintIqctJqc.cpp - OndselSolver/Translation.cpp OndselSolver/Units.cpp OndselSolver/UniversalJoint.cpp OndselSolver/UserFunction.cpp @@ -583,25 +295,310 @@ set(ONDSELSOLVER_EXPORT OndselSolver/ZTranslation.cpp ) -add_library(OndselSolver "") - -target_sources(OndselSolver - PRIVATE - ${ONDSELSOLVER_EXPORT} - PUBLIC - ${ONDSELSOLVER_HEADERS} +set(ONDSELSOLVER_HEADERS + OndselSolver/Array.h + OndselSolver/FullVector.h + OndselSolver/RowTypeMatrix.h + OndselSolver/FullRow.h + OndselSolver/FullColumn.h + OndselSolver/FullMatrix.h + OndselSolver/Abs.h + OndselSolver/AbsConstraint.h + OndselSolver/AccICKineNewtonRaphson.h + OndselSolver/AccICNewtonRaphson.h + OndselSolver/AccKineNewtonRaphson.h + OndselSolver/AccNewtonRaphson.h + OndselSolver/AngleJoint.h + OndselSolver/AngleZIecJec.h + OndselSolver/AngleZIeqcJec.h + OndselSolver/AngleZIeqcJeqc.h + OndselSolver/AnyGeneralSpline.h + OndselSolver/AnyPosICNewtonRaphson.h + OndselSolver/APIExport.h + OndselSolver/ArcSine.h + OndselSolver/ArcTan.h + OndselSolver/ArcTan2.h + OndselSolver/ASMTAnimationParameters.h + OndselSolver/ASMTAssembly.h + OndselSolver/ASMTConstantGravity.h + OndselSolver/ASMTConstraintSet.h + OndselSolver/ASMTCylindricalJoint.h + OndselSolver/ASMTExtrusion.h + OndselSolver/ASMTFixedJoint.h + OndselSolver/ASMTForceTorque.h + OndselSolver/ASMTGeneralMotion.h + OndselSolver/ASMTItem.h + OndselSolver/ASMTItemIJ.h + OndselSolver/ASMTJoint.h + OndselSolver/ASMTKinematicIJ.h + OndselSolver/ASMTMarker.h + OndselSolver/ASMTMotion.h + OndselSolver/ASMTNoRotationJoint.h + OndselSolver/ASMTPart.h + OndselSolver/ASMTPointInLineJoint.h + OndselSolver/ASMTPointInPlaneJoint.h + OndselSolver/ASMTPrincipalMassMarker.h + OndselSolver/ASMTRefCurve.h + OndselSolver/ASMTRefItem.h + OndselSolver/ASMTRefPoint.h + OndselSolver/ASMTRefSurface.h + OndselSolver/ASMTRevoluteJoint.h + OndselSolver/ASMTRotationalMotion.h + OndselSolver/ASMTSimulationParameters.h + OndselSolver/ASMTSpatialContainer.h + OndselSolver/ASMTSpatialItem.h + OndselSolver/ASMTSphericalJoint.h + OndselSolver/ASMTTime.h + OndselSolver/ASMTTranslationalJoint.h + OndselSolver/ASMTTranslationalMotion.h + OndselSolver/ASMTUniversalJoint.h + OndselSolver/AtPointConstraintIJ.h + OndselSolver/AtPointConstraintIqcJc.h + OndselSolver/AtPointConstraintIqcJqc.h + OndselSolver/AtPointConstraintIqctJqc.h + OndselSolver/AtPointJoint.h + OndselSolver/BasicIntegrator.h + OndselSolver/BasicQuasiIntegrator.h + OndselSolver/BasicUserFunction.h + OndselSolver/CADSystem.h + OndselSolver/CartesianFrame.h + OndselSolver/CompoundJoint.h + OndselSolver/Constant.h + OndselSolver/ConstantGravity.h + OndselSolver/ConstantVelocityJoint.h + OndselSolver/Constraint.h + OndselSolver/ConstraintIJ.h + OndselSolver/ConstVelConstraintIJ.h + OndselSolver/ConstVelConstraintIqcJc.h + OndselSolver/ConstVelConstraintIqcJqc.h + OndselSolver/corecrt_math_defines.h + OndselSolver/Cosine.h + OndselSolver/CREATE.h + OndselSolver/CylindricalJoint.h + OndselSolver/CylSphJoint.h + OndselSolver/DiagonalMatrix.h + OndselSolver/DifferenceOperator.h + OndselSolver/DifferentiatedGeneralSpline.h + OndselSolver/DirectionCosineConstraintIJ.h + OndselSolver/DirectionCosineConstraintIqcJc.h + OndselSolver/DirectionCosineConstraintIqcJqc.h + OndselSolver/DirectionCosineConstraintIqctJqc.h + OndselSolver/DirectionCosineIecJec.h + OndselSolver/DirectionCosineIeqcJec.h + OndselSolver/DirectionCosineIeqcJeqc.h + OndselSolver/DirectionCosineIeqctJeqc.h + OndselSolver/DiscontinuityError.h + OndselSolver/DispCompIecJecIe.h + OndselSolver/DispCompIecJecKec.h + OndselSolver/DispCompIecJecKeqc.h + OndselSolver/DispCompIecJecO.h + OndselSolver/DispCompIeqcJecIe.h + OndselSolver/DispCompIeqcJecKeqc.h + OndselSolver/DispCompIeqcJecO.h + OndselSolver/DispCompIeqcJeqcIe.h + OndselSolver/DispCompIeqcJeqcKeqc.h + OndselSolver/DispCompIeqcJeqcKeqct.h + OndselSolver/DispCompIeqcJeqcO.h + OndselSolver/DispCompIeqctJeqcIe.h + OndselSolver/DispCompIeqctJeqcKeqct.h + OndselSolver/DispCompIeqctJeqcO.h + OndselSolver/DistanceConstraintIJ.h + OndselSolver/DistanceConstraintIqcJc.h + OndselSolver/DistanceConstraintIqcJqc.h + OndselSolver/DistanceConstraintIqctJqc.h + OndselSolver/DistancexyConstraintIJ.h + OndselSolver/DistancexyConstraintIqcJc.h + OndselSolver/DistancexyConstraintIqcJqc.h + OndselSolver/DistIecJec.h + OndselSolver/DistIeqcJec.h + OndselSolver/DistIeqcJeqc.h + OndselSolver/DistIeqctJeqc.h + OndselSolver/DistxyIecJec.h + OndselSolver/DistxyIeqcJec.h + OndselSolver/DistxyIeqcJeqc.h + OndselSolver/DistxyIeqctJeqc.h + OndselSolver/EigenDecomposition.h + OndselSolver/EndFramec.h + OndselSolver/EndFrameqc.h + OndselSolver/EndFrameqct.h + OndselSolver/EndFrameqct2.h + OndselSolver/enum.h + OndselSolver/EulerAngles.h + OndselSolver/EulerAnglesDDot.h + OndselSolver/EulerAnglesDot.h + OndselSolver/EulerAngleszxz.h + OndselSolver/EulerAngleszxzDDot.h + OndselSolver/EulerAngleszxzDot.h + OndselSolver/EulerArray.h + OndselSolver/EulerConstraint.h + OndselSolver/EulerParameters.h + OndselSolver/EulerParametersDDot.h + OndselSolver/EulerParametersDot.h + OndselSolver/Exponential.h + OndselSolver/ExpressionX.h + OndselSolver/ExternalSystem.h + OndselSolver/FixedJoint.h + OndselSolver/ForceTorqueData.h + OndselSolver/ForceTorqueItem.h + OndselSolver/FullMotion.h + OndselSolver/FullRow.h + OndselSolver/Function.h + OndselSolver/FunctionFromData.h + OndselSolver/FunctionWithManyArgs.h + OndselSolver/FunctionX.h + OndselSolver/FunctionXcParameter.h + OndselSolver/FunctionXY.h + OndselSolver/GearConstraintIJ.h + OndselSolver/GearConstraintIqcJc.h + OndselSolver/GearConstraintIqcJqc.h + OndselSolver/GearJoint.h + OndselSolver/GEFullMat.h + OndselSolver/GEFullMatFullPv.h + OndselSolver/GEFullMatParPv.h + OndselSolver/GeneralSpline.h + OndselSolver/GESpMat.h + OndselSolver/GESpMatFullPv.h + OndselSolver/GESpMatFullPvPosIC.h + OndselSolver/GESpMatParPv.h + OndselSolver/GESpMatParPvMarko.h + OndselSolver/GESpMatParPvMarkoFast.h + OndselSolver/GESpMatParPvPrecise.h + OndselSolver/ICKineIntegrator.h + OndselSolver/IndependentVariable.h + OndselSolver/InLineJoint.h + OndselSolver/InPlaneJoint.h + OndselSolver/Integrator.h + OndselSolver/IntegratorInterface.h + OndselSolver/Item.h + OndselSolver/Joint.h + OndselSolver/KineIntegrator.h + OndselSolver/KinematicIeJe.h + OndselSolver/LDUFullMat.h + OndselSolver/LDUFullMatParPv.h + OndselSolver/LDUSpMat.h + OndselSolver/LDUSpMatParPv.h + OndselSolver/LDUSpMatParPvMarko.h + OndselSolver/LDUSpMatParPvPrecise.h + OndselSolver/LinearMultiStepMethod.h + OndselSolver/LineInPlaneJoint.h + OndselSolver/Ln.h + OndselSolver/Log10.h + OndselSolver/LogN.h + OndselSolver/MarkerFrame.h + OndselSolver/MatrixDecomposition.h + OndselSolver/MatrixGaussElimination.h + OndselSolver/MatrixLDU.h + OndselSolver/MatrixSolver.h + OndselSolver/MaximumIterationError.h + OndselSolver/MbdMath.h + OndselSolver/MBDynBlock.h + OndselSolver/MBDynBody.h + OndselSolver/MBDynControlData.h + OndselSolver/MBDynData.h + OndselSolver/MBDynElement.h + OndselSolver/MBDynInitialValue.h + OndselSolver/MBDynItem.h + OndselSolver/MBDynJoint.h + OndselSolver/MBDynMarker.h + OndselSolver/MBDynNode.h + OndselSolver/MBDynReference.h + OndselSolver/MBDynStructural.h + OndselSolver/MBDynSystem.h + OndselSolver/MomentOfInertiaSolver.h + OndselSolver/Negative.h + OndselSolver/NewtonRaphson.h + OndselSolver/NewtonRaphsonError.h + OndselSolver/NoRotationJoint.h + OndselSolver/NotKinematicError.h + OndselSolver/Numeric.h + OndselSolver/OrbitAnglezIecJec.h + OndselSolver/OrbitAnglezIeqcJec.h + OndselSolver/OrbitAnglezIeqcJeqc.h + OndselSolver/Orientation.h + OndselSolver/ParallelAxesJoint.h + OndselSolver/Part.h + OndselSolver/PartFrame.h + OndselSolver/PerpendicularJoint.h + OndselSolver/PlanarJoint.h + OndselSolver/PointInLineJoint.h + OndselSolver/PointInPlaneJoint.h + OndselSolver/PosICKineNewtonRaphson.h + OndselSolver/PosICNewtonRaphson.h + OndselSolver/PosKineNewtonRaphson.h + OndselSolver/PosNewtonRaphson.h + OndselSolver/PosVelAccData.h + OndselSolver/Power.h + OndselSolver/PrescribedMotion.h + OndselSolver/Product.h + OndselSolver/QuasiIntegrator.h + OndselSolver/RackPinConstraintIJ.h + OndselSolver/RackPinConstraintIqcJc.h + OndselSolver/RackPinConstraintIqcJqc.h + OndselSolver/RackPinJoint.h + OndselSolver/Reciprocal.h + OndselSolver/RedundantConstraint.h + OndselSolver/resource.h + OndselSolver/RevCylJoint.h + OndselSolver/RevoluteJoint.h + OndselSolver/ScalarNewtonRaphson.h + OndselSolver/ScrewConstraintIJ.h + OndselSolver/ScrewConstraintIqcJc.h + OndselSolver/ScrewConstraintIqcJqc.h + OndselSolver/ScrewJoint.h + OndselSolver/SimulationStoppingError.h + OndselSolver/Sine.h + OndselSolver/SingularMatrixError.h + OndselSolver/Solver.h + OndselSolver/SparseColumn.h + OndselSolver/SparseMatrix.h + OndselSolver/SparseRow.h + OndselSolver/SparseVector.h + OndselSolver/SphericalJoint.h + OndselSolver/SphSphJoint.h + OndselSolver/StableBackwardDifference.h + OndselSolver/StateData.h + OndselSolver/Sum.h + OndselSolver/Symbolic.h + OndselSolver/SymbolicParser.h + OndselSolver/SyntaxError.h + OndselSolver/System.h + OndselSolver/SystemNewtonRaphson.h + OndselSolver/SystemSolver.h + OndselSolver/Time.h + OndselSolver/TooManyTriesError.h + OndselSolver/TooSmallStepSizeError.h + OndselSolver/Translation.h + OndselSolver/TranslationalJoint.h + OndselSolver/TranslationConstraintIJ.h + OndselSolver/TranslationConstraintIqcJc.h + OndselSolver/TranslationConstraintIqcJqc.h + OndselSolver/TranslationConstraintIqctJqc.h + OndselSolver/Units.h + OndselSolver/UniversalJoint.h + OndselSolver/UserFunction.h + OndselSolver/Variable.h + OndselSolver/VectorNewtonRaphson.h + OndselSolver/VelICKineSolver.h + OndselSolver/VelICSolver.h + OndselSolver/VelKineSolver.h + OndselSolver/VelSolver.h + OndselSolver/ZRotation.h + OndselSolver/ZTranslation.h ) -#target_sources(OndselSolver PRIVATE ${ONDSELSOLVER_EXPORT}) -#target_sources(OndselSolver PRIVATE ${ONDSELSOLVER_HEADERS}) +target_sources(OndselSolver PRIVATE + "${ONDSELSOLVER_SRC}" + "${ONDSELSOLVER_HEADERS}") + +set_target_properties(OndselSolver + PROPERTIES VERSION ${PROJECT_VERSION} + SOVERSION 1 + PUBLIC_HEADER "${ONDSELSOLVER_HEADERS}" +) configure_file(OndselSolver.pc.in ${CMAKE_BINARY_DIR}/OndselSolver.pc @ONLY) install(TARGETS OndselSolver LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/OndselSolver) - -# PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/OndselSolver) - install(FILES ${CMAKE_BINARY_DIR}/OndselSolver.pc DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/pkgconfig) -