]> git.lyx.org Git - lyx.git/blob - development/cmake/README.cmake
correct filenames
[lyx.git] / development / cmake / README.cmake
1 Building LyX with CMake
2
3 For all builds:
4 - CMake 2.4 or CVS version from www.cmake.org
5 - install Qt 4 and make sure qmake 4 is found
6 - by default it builds the Qt4 frontend
7 - to build the Qt3 frontend set QTDIR and call cmake with '-Dqt3=1'
8
9 Building Visual C++ 2005 project files:
10 - install Visual C++ 2005
11 - install Platform SDK 2005, "Core" and "Web Workshop"
12 - add include and library paths of the SDK to the IDE search paths,
13   menu: Tools->Options->VC++ directories->Library files + Include files
14 - install zlib (www.zlib.net) into %ProgramFiles%/GnuWin32/include+lib
15   or %ProgramFiles%/zlib/include+lib
16 - create a build directory, e.g. .../trunk/../build
17 - call in the build directory 'cmake ..\trunk\development\cmake'
18 - start lyx.sln
19
20 TIPS: - rename Microsoft Visual Studio 8\VC\vcpackages\feacp.dll 
21         to disable Intellisense
22       - the Release build links much faster
23
24
25 Building with GCC/Linux:
26 - create a build directory, e.g. .../trunk/../build
27 - call in the build directory 'cmake ..\trunk\development\cmake'
28
29 Building with GCC/Windows (Win2k only works with MSYS, XP?):
30 - install zlib (www.zlib.net) into %ProgramFiles%/GnuWin32/include+lib
31 - create a build directory, e.g. .../trunk/../build
32 - call: export QMAKESPEC=win32-g++ (MSYS) or set QMAKESPEC=win32-g++ (CMD)
33 - call in the build directory 'cmake ..\trunk\development\cmake'
34
35
36 To generate other build files call 'cmake'
37 which shows a list of possibilities.
38
39
40 The build process tries to find aspell and iconv on Windows 
41 in %ProgramFiles%/GnuWin32/ and in /usr/ or in /usr/local 
42 under Linux. If they are not found the support is disabled.