Op 7-10-2012 1:39, Sebastian Audet schreef:
On Windows 7, the cmake build process fails to generate a correct
.vcxproj for the frontend_qt4 project.
The problem is that Visual Studio decided that the header files are
being included twice.
The solution is to not include the header files.
A patched CMakeLists.txt is attached.
NOTE: while this works, compiles, and runs, it removes all header
files from the frontend_qt4 project. It is recommended that the lyx
cmake symbols be updated so that a list of used headers is generated
by the lyxautomoc() macro.
Tested on Windows 7, Visual Studio 2010, cmake 2.8
In the subject you refer to Visual Studio 2012, but in the message you
only refer to Windows 7, and later on you refer to Windows 7, Visual
Studio 2010. I don't understand exactly when the problem occurs.
I do not see this problem on Windows 7 either with Visual Studio 2010 or
2012.
Vincent