I spent now another few hours to get LyX 2_0_x branch to compile with CMake.
I started from a clean SVN tree and followed exactly the file Install.Win32.
There are 3 problems:
1. a LyX.exe file is compiled, but at the end of the compilation process MSVC
complains telling me
D:\LyXSVN\LyX2.0.x\compile-result\Debug\ALL_BUILD
cannot find file
But thee is no such directory, there is only this one:
D:\LyXSVN\LyX2.0.x\compile-result\Win32\Debug\ALL_BUILD
But even when I specify this one for the ALL_BUILD component, I cannot run the
compiled LyX.
2. I can also not debug the compiled LyX because CMake does not create a folder named "Resources"
and copy there the content of SVN's "lib" folder. Therefore when I want to debug the LyX component,
I get an error message that the Resources folder is missing. Sure, I can create this filder by
myself, but I expect CMake to do this for me and to update the folder's content when a file in SVN's
lib folder is changed (like SCons does).
3. I cannot disable the CMake component "DOC". It is annoying that the compiler always stumbles over
this component. I can of course delete it from the solution file, but I fear that this will break
something
When I compile LyX's trunk, CMake doesn't have this DOC component.
Peter, Kornel, can you please help me?
thanks and regards Uwe