Ignore CMake/MSVC-related build files.
diff --git a/.gitignore b/.gitignore
index fdd50b2..b42ce61 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,3 +7,17 @@
 *.gcno
 *.gcda
 library/polarssl.info
+
+# MSVC files generated by CMake:
+*.sln
+*.vcxproj
+*.filters
+
+# MSVC build artifacts:
+*.exe
+*.pdb
+*.ilk
+*.lib
+
+# CMake generates *.dir/ folders for in-tree builds (used by MSVC projects), ignore all of those:
+*.dir/