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