lyx_mirror/development/cmake
Michael Schmitt 692f022eed set version number to 1.4.4
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15195 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-02 09:11:23 +00:00
..
boost add cmake support for 1.4.x with Qt3 2006-09-20 17:58:50 +00:00
intl add cmake support for 1.4.x with Qt3 2006-09-20 17:58:50 +00:00
modules add cmake support for 1.4.x with Qt3 2006-09-20 17:58:50 +00:00
src add cmake support for 1.4.x with Qt3 2006-09-20 17:58:50 +00:00
CMakeLists.txt set version number to 1.4.4 2006-10-02 09:11:23 +00:00
config.h.cmake add cmake support for 1.4.x with Qt3 2006-09-20 17:58:50 +00:00
ConfigureChecks.cmake already in CMakeLists.txt with 1.4.3 as version number 2006-09-21 10:21:26 +00:00
README.cmake add cmake support for 1.4.x with Qt3 2006-09-20 17:58:50 +00:00

Building LyX with CMake

For all builds:
- CMake 2.4 or CVS version from www.cmake.org
- install Qt 3 and set QTDIR

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.