-INSTALL(TARGETS SketchPlugin DESTINATION plugins)
-INSTALL(FILES ${XML_RESOURCES} DESTINATION plugins)
+INSTALL(TARGETS SketchPlugin DESTINATION ${SHAPER_INSTALL_PLUGIN_FILES})
+INSTALL(FILES ${XML_RESOURCES} DESTINATION ${SHAPER_INSTALL_XML_RESOURCES})
+
+ADD_UNIT_TESTS(TestSketchPointLine.py
+ TestSketchArcCircle.py
+ TestConstraintConcidence.py
+ TestConstraintCollinear.py
+ TestConstraintLength.py
+ TestConstraintDistance.py
+ TestConstraintParallel.py
+ TestConstraintPerpendicular.py
+ TestConstraintRadius.py
+ TestConstraintRigid.py
+ TestConstraintHorizontal.py
+ TestConstraintVertical.py
+ TestConstraintEqual.py
+ TestConstraintTangent.py
+ TestConstraintMirror.py
+ TestConstraintAngle.py
+ TestConstraintMiddlePoint.py
+ TestMultiRotation.py
+ TestMultiTranslation.py
+ TestFillet.py
+ TestRectangle.py
+ TestHighload.py
+ TestSnowflake.py)