lyx_mirror/development/cmake
Abdelrazak Younes a6444784dc A bunch of conversion to docstring.
- bformat(): contributed by Georg Beaum
- Alert::XXX
- error(): in SpellBase, ispell, psell, aspell, buffer, etc.
- message(), message signal
- displayMessage(), setMessage,
- ErrorItems
- prettyName()
- makeDisplayPath()

and maybe some more...


- etc... 

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14970 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-11 08:54:10 +00:00
..
boost update to boost 1.34 cvs 2006-09-06 08:43:10 +00:00
intl more flexible msvc project folder generation, flat is default 2006-09-03 23:50:16 +00:00
modules check PATH for iconv.dll 2006-09-06 08:43:48 +00:00
src A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
CMakeLists.txt more flexible msvc project folder generation, flat is default 2006-09-03 23:50:16 +00:00
config.h.cmake also remove BOOST_NO_WREGEX 2006-08-28 17:59:14 +00:00
ConfigureChecks.cmake check for ICONV_CONST 2006-08-14 16:38:04 +00:00
README.cmake cmake 2.4.3 is out: update Readme.cmake 2006-08-04 20:04:16 +00:00

Building LyX with CMake

For all builds:
- CMake 2.4 or CVS version from www.cmake.org
- install Qt 4 and make sure qmake 4 is found
- by default it builds the Qt4 frontend
- to build the Qt3 frontend set QTDIR and call cmake with '-Dqt3=1'

Building Visual C++ 2005 project files:
- install Visual C++ 2005
- install Platform SDK 2005, "Core" and "Web Workshop"
- add include and library paths of the SDK to the IDE search paths,
  menu: Tools->Options->VC++ directories->Library files + Include files
- install zlib (www.zlib.net) into %ProgramFiles%/GnuWin32/include+lib
  or %ProgramFiles%/zlib/include+lib
- create a build directory, e.g. .../trunk/../build
- call in the build directory 'cmake ..\trunk\development\cmake'
- start lyx.sln

TIPS: - rename Microsoft Visual Studio 8\VC\vcpackages\feacp.dll 
        to disable Intellisense
      - the Release build links much faster


Building with GCC/Linux:
- create a build directory, e.g. .../trunk/../build
- call in the build directory 'cmake ..\trunk\development\cmake'

Building with GCC/Windows (Win2k only works with MSYS, XP?):
- install zlib (www.zlib.net) into %ProgramFiles%/GnuWin32/include+lib
- create a build directory, e.g. .../trunk/../build
- call: export QMAKESPEC=win32-g++ (MSYS) or set QMAKESPEC=win32-g++ (CMD)
- call in the build directory 'cmake ..\trunk\development\cmake'


To generate other build files call 'cmake'
which shows a list of possibilities.


The build process tries to find aspell and iconv on Windows 
in %ProgramFiles%/GnuWin32/ and in /usr/ or in /usr/local 
under Linux. If they are not found the support is disabled.