Am Freitag, den 26.03.2010, 03:50 +0100 schrieb Uwe Stöhr: > Am 25.03.2010 22:17, schrieb Peter Kümmel: > > >> -G "Visual Studio 9.0" -Dnls=1 -DGNUWIN32_DIR="..." -Dmerge=0 > > This doesn't work, but this one: > > -G"Visual Studio 9 2008" -Dnls=1 -DGNUWIN32_DIR="..." -Dmerge=0
Calling cmake without arguments list all available generators (args which could be passed to -G) > > > And then open lyx.sln. > > I found now out how to decide if a debug or release build is created. There > are nevertheless 2 > issues left: > > - the files in LyX's lib folder are not copied to a "Resources" folder in the > folder where I have > build LyX. LyX therefore won't start when double-clicking on the lyx.exe. > (SCons automatically creates the Resources folder and update its contents > also automatically at the > end of the compilation.) Without installing it doesn't run out-off-the-box from the debugger. You have to set LYX_DIR_20x=<lyx-dir>/lib. You could add it global or in the Settings dialog for the lyx project which you must have marked as starting project. > > - How can I remerge and compile the po-files? > > --- > > For curiosity, I performed a full compilation of LyX using SCons and CMake. > The astonishing result > is that Cmake is only 2 minutes faster when using -Dmerge=0, when using > -Dmerge=1 it is much faster. > But this options produces compilation warnings as I already reported. If you are only interested in "does LyX compile" and you don't wanna debug merge=1 is enough. Most warnings could be ignored, they pop up because most libs are compiled as one file, then things are visible in other files which are not seen when compiled normally. Peter > thanks and regards > Uwe