add Cmake Initial Support

Signed-off-by: xiehuc <xiehuc@gmail.com>
fix compile bug for replay

函数的默认参数应该加在申明而不是实现

Signed-off-by: xiehuc <xiehuc@gmail.com>

Signed-off-by: xiehuc <xiehuc@gmail.com>
clean file

Signed-off-by: xiehuc <xiehuc@gmail.com>