add cmake support
add cmake to compile.
add ignore list