+4 Install CMake
+
+ Install the latest CMakescript from
+ http://sourceforge.net/projects/cmakescript/files/latest/download
+
+5 Configure
+
+ Open the script file build.bat that you find in your LyX folder
+ C:\LyX\lyx-20\development\cmake
+ with a text editor. Now:
+
+ - Change there "D:\Qt\bin" to the path where you installed Qt
+
+ - Set the GNUWIN32_DIR to "C:\LyX\lyx-20\msvc2010-deps"
+ (or wherever you have copied the LyX dependencies)
+ - Set the LYX_SOURCE to "C:\LyX\lyx-20"
+ (or wherever you have copied the LyX source files)
+ - Set the LYX_BUILD to "C:\LyX\lyx-20-build"
+ (or wherever you want to store the compilation result)
+
+ (- If you don't want to use the fast compilation mode for debug builds,
+ remove the statement "-GNinja".)
+
+6 Compile
+
+ - Open a MSVC Command prompt via Windows' start menu and switch
+ to the folder
+ C:\LyX\lyx-20\development\cmake
+ - To build LyX with debugging information for development, execute
+ the build script with the command
+ build devel
+ - To build LyX for a release, execute
+ the script with the command
+ build install
+
+7 Copy dependencies
+
+ Copy
+ - C:\LyX\lyx-20\msvc2010-deps\deps20\bin
+ - C:\LyX\lyx-20\msvc2010-deps\deps20\imagemagick
+ - C:\LyX\lyx-20\msvc2010-deps\deps20\python
+ - C:\LyX\lyx-20\msvc2010-deps\deps20\ghostscript
+ - C:\LyX\lyx-20\msvc2010-deps\deps20\Resources
+ to C:\LyX\lyx-20-build\LYX_INSTALLED\bin (install build)
+ or to C:\LyX\lyx-20-build\bin\Debug (debug build)
+
+ And copy from the Qt bin directory
+ (e.g. C:\Qt\bin)