]> git.lyx.org Git - lyx.git/blobdiff - INSTALL.cmake
* RELEASE-NOTES
[lyx.git] / INSTALL.cmake
index fa7f2a614db83b48761aa00990fa44c0867a84c3..8c80d9b68f04348d456d710d174c4d9243b9f048 100644 (file)
@@ -21,8 +21,15 @@ Building LyX with CMake
     
         On Windows install the supplementary modules:
         * Visual Studio 2008: ftp://ftp.lyx.org/pub/lyx/contrib/lyx-windows-deps-msvc2008.zip
-        * Visual Studio 2010: ftp://ftp.devel.lyx.org/pub/contrib/windows/bin/     
-        
+        * Visual Studio 2010: ftp://ftp.devel.lyx.org/pub/contrib/windows/bin
+                or use the option LYX_DEPENDENCIES_DOWNLOAD, then you have to add
+                these paths to your PATH variable:
+                  <build-dir>\msvc2010-deps\deps20\bin
+                  <build-dir>\msvc2010-deps\deps20\python
+                  <build-dir>\msvc2010-deps\deps20\imagemagick
+                  <build-dir>\msvc2010-deps\deps20\ghostscript
+                  <build-dir>\msvc2010-deps\deps20\gettext-tools
+
         If cmake couldn't find these modules set GNUWIN32_DIR, eg. 
         -DGNUWIN32_DIR=c:\gnuwin32. By default cmake searches in your 
         program folder. Or use the cmake GUI to set the GNUWIN32_DIR path.
@@ -148,7 +155,8 @@ Build options
     -- LYX_CONSOLE              = ON     : Show console on Windows
     -- LYX_VLD                  = OFF    : Use VLD with MSVC
     -- LYX_WALL                 = OFF    : Enable all warnings
-    -- LYX_LYX_CONFIGURE_CHECKS = OFF    : Also run configure checks for MSVC
+    -- LYX_CONFIGURE_CHECKS     = OFF    : Also run configure checks for MSVC
+    -- LYX_DEPENDENCIES_DOWNLOAD= OFF    : Download precompiled 3rd party libraries for MSVC 10
 
     
 
@@ -258,5 +266,22 @@ Xcode/Mac
 
 
 
-    
+Packaging
+----------
+
+    - Source .tar.gz, .tar.bz2, .zip:
+        make package_source
+
+    - Binary .tar.gz and install .sh:
+        make package
+
+    - Binary .deb:
+        create : cpack -G DEB --config CPackConfig.cmake
+        list   : dpkg-deb -c lyx-*.deb
+        install: dpkg -i lyx-*.deb
+
+    - Binary .rpm:
+        create : cpack -G RPM --config CPackConfig.cmake
+        list   : rpm -qlp lyx-*.rpm              
+        install: rpm -U lyx-*.rpm