Uwe Stöhr wrote: > Am 25.11.2015 um 21:15 schrieb Georg Baum: > >> Is it really the creation of the .gmo files? I believe it is rather the >> creation of the .pot file by po/lyx_pot.py which is slow. > > the .pot file is generated within a second.
Interesting, This is the slower part on linux. > What takes time are the gmo > files: > > Generating bg.gmo > CUSTOMBUILD : cygwin warning : > [D:\LyXGit\Master\compile-result\po\translations.vcxproj] > MS-DOS style path detected: D:/LyXGit/Master/compile-result/po/bg.po > Preferred POSIX equivalent is: > /cygdrive/d/LyXGit/Master/compile-result/po/ bg.po > CYGWIN environment variable option "nodosfilewarning" turns off > this warnin g. > Consult the user's guide for more details about POSIX paths: > http://cygwin.com/cygwin-ug-net/using.html#using-pathnames > 952 translated messages, 3766 fuzzy translations, 2108 untranslated > messages. > Generating ca.gmo... > > So maybe because of the cygwin things. I don't have cygwin btw. Obviously you do have it, otherwise you would not get this message. I would be interested to understand how the MSVC projects look like, but I cannot create them with cmake under Linux, and even the windows cmake in wine refuses to generate them unless it finds an MSVC installation. Can you send me all generated .sln and .vcxproj please? > Thanks. Yes this is the reason. /t:ALL_BUILD builds the target > "tex2lyx", then the target "translations" and the "update-gmo". > > How can I setup a call that does the same as /t:ALL_BUILD but without > "update-gmo"? You can simply duplicate the line in build.bat which calls msbuild, and replace ALL_BUILD with the individual targets like tex2lyx etc. Georg