Make sure you have TOOLS checked in cmake before configure & generate & compile.
Once you have compiled the core with the tools you can see them in the folder where the worldserver.exe is at.
Move the mapextractor and vmap4extractor and vmap4assembler to the wow installation folder (needs to be 3.3.5 or 6.x depending on what patch core you are compiling).
Start the mapextractor.exe and wait until it finishes.
Create a bat file (a file with .bat extension / file type) that has the following content:
vmap4extractor.exe
md vmaps
vmap4assembler.exe Buildings vmaps
pause
Run the bat file and wait until it is finished
That bat runs the extractor, creates vmaps folder and runs assembler with the Buildings and vmaps folders as parameters so you could do it through cmd as well if you want to.
After everything is finished move the newly created maps and vmaps and dbc folders to the folder that worldserver.exe is at (the server folder).
You can delete the Buildings folder that was created by the vmap extractor, it was used by the vmap assembler and is no longer needed afterwards.
If you want mmaps you should now run the mmaps_generator that is in the server folder (next to worldserver.exe). Make sure the vmaps etc is in the same folder since the mmap generator uses them to generate the mmaps.