-Compiling and installing LyX
-============================
+Compiling and installing LyX with autotools
+===========================================
+
+This document is about compiling LyX with the autotools suite. If you
+want to compile using using CMake (in particular on windows), please
+refer to the INSTALL.cmake file.
+
Quick compilation guide
-----------------------
------------
First of all, you will need a C++11 standard conforming compiler, like gcc (at
-least 4.8) or clang.
+least 4.9) or clang.
LyX makes great use of the C++ Standard Template Library (STL).
This means that gcc users will have to install the relevant libstdc++
stdlib-debug X
warnings X X
debug X X X X
+ maintainer-mode X
The defaults are as follows in terms of version number
release: stable release (2.x.y)
- prerelease: version number contains alpha, beta, rc or pre.
- development: version number contains dev.
+ prerelease: version number contains `alpha', `beta', `rc' or `pre'.
+ development: version number contains `dev'.
The `profiling' build type uses the -fno-omit-frame-pointer option with gcc
The `gprof' build type compiles and links with -pg option with gcc.
-o --disable-qt5 that forces configuration with Qt 4.x when Qt 5.x is
+ o --disable-qt5 that forces configuration with Qt 4.x when Qt 5.x is
also available. By default Qt5 is tried first, and then Qt4.
-o --with-extra-lib=DIRECTORY that specifies the path where LyX will
+ o --with-extra-lib=DIRECTORY that specifies the path where LyX will
find extra libraries (like Qt) it needs. Defaults to NONE
(i.e. search in standard places). You can specify several
directories, separated by colons.
precisely (see the description of --enable-build-type for the default
values):
+ o --enable-cxx-mode=VALUE can be used to select a C++ standard, for
+ example --enable-cxx-mode=11. The default is to try C++14, and then
+ C++11.
+
o --enable-optimization=VALUE enables you to set optimization to a
higher level than the default, for example --enable-optimization=-O3.