Re: opions-renaming in cmake

2010-07-08 Thread Pavel Sanda
Kornel Benko wrote: > > i mean we would just adopt the sequence of various command from "make > > lyx.pot-update" > > from quick view something like: > > python ./lyx_pot.py -b .. -o qt4_l10n.pot -t qt4 > > ../src/frontends/qt4/ui/*.ui > > python ./lyx_pot.py -b .. -o layouts_l10n.pot -t layouts

Re: opions-renaming in cmake

2010-07-07 Thread Joost Verburg
On 7/7/2010 5:51 PM, Peter Kuemmel wrote: Cool! Do you plan to create a zip which contains all the libs for a special compiler, something like lyx_dependencies_msvc10.zip? msvc10 here means it's compiled against the MSVC 2010 CRT, which I used for all dependencies. You can still use them with

Re: opions-renaming in cmake

2010-07-07 Thread Peter Kuemmel
Original-Nachricht > Datum: Tue, 06 Jul 2010 17:18:21 -0400 > Von: Joost Verburg > An: lyx-devel@lists.lyx.org > Betreff: Re: opions-renaming in cmake > On 7/6/2010 4:00 PM, Peter Kuemmel wrote: > > GNUWIN32_DIR is not an boolean option, it's def

Re: opions-renaming in cmake

2010-07-07 Thread Kornel Benko
Am Mittwoch, 7. Juli 2010 schrieb Pavel Sanda: > Kornel Benko wrote: > > It would not be very nice to list explicitly all the needed files. > > i'm not sure we understand each other. We did not. > i mean we would just adopt the sequence of various command from "make > lyx.pot-update" > from qui

Re: opions-renaming in cmake

2010-07-07 Thread Pavel Sanda
Kornel Benko wrote: > It would not be very nice to list explicitly all the needed files. i'm not sure we understand each other. i mean we would just adopt the sequence of various command from "make lyx.pot-update" from quick view something like: python ./lyx_pot.py -b .. -o qt4_l10n.pot -t qt4 .

Re: opions-renaming in cmake

2010-07-07 Thread Kornel Benko
Am Mittwoch, 7. Juli 2010 schrieb Pavel Sanda: > Kornel Benko wrote: > > Am Dienstag, 6. Juli 2010 schrieb Peter Kuemmel: > > > > Done. Added aspell (=LYX_ASPELL) to the set of option-variables too. Set > > > > the > > > > group of options at the same place in CMakeLists.txt. > > > > > > I've foun

Re: opions-renaming in cmake

2010-07-07 Thread Pavel Sanda
Kornel Benko wrote: > Am Dienstag, 6. Juli 2010 schrieb Peter Kuemmel: > > > Done. Added aspell (=LYX_ASPELL) to the set of option-variables too. Set > > > the > > > group of options at the same place in CMakeLists.txt. > > > > I've found much more options and introduced therefore the LYX_OPTION >

Re: opions-renaming in cmake

2010-07-06 Thread Kornel Benko
Am Dienstag, 6. Juli 2010 schrieb Peter Kuemmel: > > Done. Added aspell (=LYX_ASPELL) to the set of option-variables too. Set > > the > > group of options at the same place in CMakeLists.txt. > > I've found much more options and introduced therefore the LYX_OPTION > macro which makes it simple to

Re: opions-renaming in cmake

2010-07-06 Thread Joost Verburg
On 7/6/2010 4:00 PM, Peter Kuemmel wrote: GNUWIN32_DIR is not an boolean option, it's defined by a Find-Package module. So we should rename and patch FindGNUWIN32.cmake. But this package is maybe also part of cmake, have to check. I've recently created native and up-to-date MSVC versions of all

Re: opions-renaming in cmake

2010-07-06 Thread Peter Kuemmel
Original-Nachricht > Datum: Tue, 06 Jul 2010 15:33:32 -0400 > Von: Joost Verburg > An: lyx-devel@lists.lyx.org > Betreff: Re: opions-renaming in cmake > On 7/6/2010 2:24 PM, Kornel Benko wrote: > > Done. Added aspell (=LYX_ASPELL) to the set of opti

Re: opions-renaming in cmake

2010-07-06 Thread Peter Kuemmel
> Done. Added aspell (=LYX_ASPELL) to the set of option-variables too. Set > the > group of options at the same place in CMakeLists.txt. I've found much more options and introduced therefore the LYX_OPTION macro which makes it simple to handle and print all the options the same way. See your cmake

Re: opions-renaming in cmake

2010-07-06 Thread Joost Verburg
On 7/6/2010 2:24 PM, Kornel Benko wrote: Done. Added aspell (=LYX_ASPELL) to the set of option-variables too. Set the group of options at the same place in CMakeLists.txt. Great! I think you missed the GNUWIN32_DIR? Maybe this one could become an option as well. I would suggest LYX_DEPENDENCIES

Re: opions-renaming in cmake

2010-07-06 Thread Kornel Benko
On Tue, Jul 6, 2010 at 2:52 PM, Joost Verburg wrote: > On 7/6/2010 1:42 AM, Kornel Benko wrote: > >> Very well. >> Done for all used options. >> > > What about GNUWIN32_DIR? Could this be renamed to LYX_DEPENDENCIES_DIR or > something similar? > There are some others like nls -> LYX_NLS, noconsol

Re: opions-renaming in cmake

2010-07-06 Thread Kornel Benko
Am Dienstag, 6. Juli 2010 schrieb Joost Verburg: > On 7/6/2010 1:42 AM, Kornel Benko wrote: > > Very well. > > Done for all used options. > > What about GNUWIN32_DIR? Could this be renamed to LYX_DEPENDENCIES_DIR > or something similar? > There are some others like nls -> LYX_NLS, noconsole -> >

Re: opions-renaming in cmake

2010-07-06 Thread Joost Verburg
On 7/6/2010 1:42 AM, Kornel Benko wrote: Very well. Done for all used options. What about GNUWIN32_DIR? Could this be renamed to LYX_DEPENDENCIES_DIR or something similar? There are some others like nls -> LYX_NLS, noconsole -> LYX_NO_CONSOLE, UseVersionSuffix -> LYX_USE_VERSION_SUFFIX. I thi

Re: opions-renaming in cmake

2010-07-05 Thread Kornel Benko
Am Montag, 5. Juli 2010 schrieb Peter Kuemmel: > > > Now we're renaming them anyway, perhaps we can use the standard naming > > > convention in CMake? So for example LYX_DISABLE_PCH. > > > > Yes, very good. Also we should use the option macro when possible. > Very well. Done for all used optio

Re: opions-renaming in cmake

2010-07-05 Thread Peter Kuemmel
Original-Nachricht > Datum: Mon, 5 Jul 2010 16:24:41 +0200 > Von: Kornel Benko > An: lyx-devel@lists.lyx.org > Betreff: Re: opions-renaming in cmake > Am Montag, 5. Juli 2010 schrieb Joost Verburg: > > On 7/5/2010 7:38 AM, Kornel Benko wrote: > > >

Re: opions-renaming in cmake

2010-07-05 Thread Kornel Benko
Am Montag, 5. Juli 2010 schrieb Joost Verburg: > On 7/5/2010 7:38 AM, Kornel Benko wrote: > > To have options in a group I wolud like to add a prefix to options for > > cmake-build. > > > > lyxinstall -> LYX_install > > UseExternalBoost -> LYX_UseExternalBoost > > disable-pch -> LYX

Re: opions-renaming in cmake

2010-07-05 Thread Joost Verburg
On 7/5/2010 7:38 AM, Kornel Benko wrote: To have options in a group I wolud like to add a prefix to options for cmake-build. lyxinstall -> LYX_install UseExternalBoost -> LYX_UseExternalBoost disable-pch -> LYX_disable-pch Peter, Joost, do you mind to accept followi