mirror of https://github.com/mosra/magnum.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
974 B
24 lines
974 B
corrade_add_test2(MathConstantsTest ConstantsTest.cpp) |
|
if(NOT CMAKE_NO_OBJECT_TARGET) |
|
set(MathTest_SRCS MathTest.cpp $<TARGET_OBJECTS:MagnumMathObjects>) |
|
else() |
|
set(MathTest_SRCS MathTest.cpp ${MagnumMath_SRCS}) |
|
endif() |
|
corrade_add_test2(MathTest ${MathTest_SRCS}) |
|
corrade_add_test2(MathMathTypeTraitsTest MathTypeTraitsTest.cpp) |
|
|
|
corrade_add_test2(MathRectangularMatrixTest RectangularMatrixTest.cpp) |
|
|
|
corrade_add_test2(MathVectorTest VectorTest.cpp) |
|
corrade_add_test2(MathVector2Test Vector2Test.cpp) |
|
corrade_add_test2(MathVector3Test Vector3Test.cpp) |
|
corrade_add_test2(MathVector4Test Vector4Test.cpp) |
|
|
|
corrade_add_test2(MathPoint2DTest Point2DTest.cpp) |
|
corrade_add_test2(MathPoint3DTest Point3DTest.cpp) |
|
|
|
corrade_add_test2(MathMatrixTest MatrixTest.cpp) |
|
corrade_add_test2(MathMatrix3Test Matrix3Test.cpp) |
|
corrade_add_test2(MathMatrix4Test Matrix4Test.cpp) |
|
|
|
set_target_properties(MathVectorTest MathMatrix4Test PROPERTIES COMPILE_FLAGS -DCORRADE_GRACEFUL_ASSERT)
|
|
|