Hi,
I would like to suggest a change in CMakeLists.txt in bitmaps
directory. Currently the custom command added for copying .xpm files
uses "cmake" command directly, what fails under Windows, when there is
no cmake.exe in PATH. I suggest to put "$(CMAKE_COMMAND)" as this
variable contains full path to cmake command in Makefile later during
build process. This allows me to build KiCad under Windows on my
default environment. According to what I googled, the
"${CMAKE_COMAND}" should also work.
Patch attached - please consider using it. I did not have time to
check it under MS Visual C++.