create 2 dirs,
ie:
c/source //pull source from git to here (usualyl git makes a /trinitycore/ dir, if it happened, move everything out from it to c/source)
so you should have
c/source/.git
c/source/cmake
c/source/src
c/source/sql
etc, and some files like CMakeLists.txt, .gitignore, etc[/code]
create:
[u]c/build[/u] //leave empty
run cmake gui
fill in / browse the two top fields:
"where is the source code? " [u]c/source[/u]
"where to build? " [u]c/build[/u]
press Configure, check for anny error, if none, click generate, tadam, you should have a VS project file in the build dir