add plugin and cmake