On 22/01/2011 16:10, Peter Kümmel wrote:
On 22.01.2011 14:36, Abdelrazak Younes wrote:
On 22/01/2011 12:04, Peter Kümmel wrote:
Before we set LyX 2.0 in stone by releasing it
I've cleaned up a bit the LYX_ option naming,
to make it more consistent:
- only positive names (replace NO_ and DISBALE_ names)
- short names when it is clear what the option means (no USE_)
- no redundant options, e.g. LYX_RELEASE=0 is a debug build
http://www.lyx.org/trac/changeset/37293/
Options changed:
- removed LYX_DEBUG: use LY_RELEASE=1
- logic of LYX_NO_CONSOLE inverted: use LYX_CONSOLE
- logic of LYX_DISBALE_PCH inverted: use LYX_PCH
- renamed USE_EXTERNAL_BOOST to EXTERNAL_BOOST
- renamed USE_EXTERNAL_LIBINTL to EXTERNAL_LIBINTL
So please update your scripts. And read the output of
the cmake run.
Any ideas for other changes?
All cmake files should be globed in the CMakeList (so that they are
accessible from QtCreator and MSVC). I think lyxrc and ui/ files for
menubar and toolbars defintion should also be globed.
The CMakeFiles are already globed. Don't you see then in creator?
I saw them but; IIRC some files were missing, the ASPELL module AFAIR...
Top level and in the module folder.
In Studio you could find them in the LyX project, folder LyXCMakeFiles.
In LyXInfoFiles are all top level files from trunk.
And the CMakeLists.txt for each project are in the cmake folder.
Other files could simply added by the macro lyx_find_info_files()
e.g. lyx_find_info_files(LyXInfoFiles ${TOP_SRC_DIR}/*)
adds all top level files to the folder LyXInfoFiles in Studio.
Add them in /development/cmake/src/CMakeLists.txt below
the other lyx_find_info_files calls.
OK, thanks.
Abdel.