]> git.lyx.org Git - lyx.git/blobdiff - development/cmake/README.cmake
Scons: libintl also needs /MD option
[lyx.git] / development / cmake / README.cmake
index 986022169964dc8a99c841f28944ee817cfd14e9..1cc53d173038e3f728ed0581462f973220667e93 100644 (file)
@@ -1,9 +1,14 @@
 Building LyX with CMake
 
 For all builds:
-- CMake 2.4.2 or CVS version from www.cmake.org
+- CMake 2.4 or CVS version from www.cmake.org
 - install Qt 4 and make sure qmake 4 is found
-
+  (add the folder with qmake to the environment variable PATH)
+- by default it builds the Qt4 frontend
+- to build the Qt3 frontend set QTDIR and call cmake with '-Dqt3=1'
+- with GNUWIN32_DIR you could point to your gnuwin32 packages
+  (eg. -DGNUWIN32_DIR=c:\gnuwin32) by default it searches in your 
+  program  folder
 
 Building Visual C++ 2005 project files:
 - install Visual C++ 2005
@@ -25,9 +30,10 @@ 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:
+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'
 
 
@@ -35,6 +41,6 @@ To generate other build files call 'cmake'
 which shows a list of possibilities.
 
 
-The build process tries to find aspell and iconv on Windows 
+The build process tries to find aspell on Windows
 in %ProgramFiles%/GnuWin32/ and in /usr/ or in /usr/local 
-under Linux. If they are not found the support is disabled.
+under Linux. If it is not found the support is disabled.