update `.gitignore`.
-CMakeFiles/
+*.a
+*.so
+/build/
+
+# [CMake](https://github.com/github/gitignore/blob/master/CMake.gitignore)
+#
CMakeCache.txt
+CMakeFiles
+CMakeScripts
+Testing
Makefile
-*.so
-*.a
-*.cmake
+cmake_install.cmake
+install_manifest.txt
+compile_commands.json
+CTestTestfile.cmake
\ No newline at end of file
