add gmslib as lib project