Added CMakeLists.txt.

Now you can use cmake to compile the project.