-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})
+INSTALL(DIRECTORY icons/ DESTINATION ${SHAPER_INSTALL_XML_RESOURCES}/icons/Sketch)
+INSTALL(FILES ${TEXT_RESOURCES} DESTINATION ${SHAPER_INSTALL_XML_RESOURCES})
+
+ADD_UNIT_TESTS(TestSketchPointLine.py
+ TestSketchArcCircle.py
+ TestConstraintCoincidence.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
+ TestProjection.py
+ TestHighload.py
+ TestSnowflake.py)