If you use Qt 5, use -DLYX_USE_QT=QT5, otherwise Qt 4 will be searched.
When you want to run LyX without installing from an out-of-source
- build directory you have to set the environment variable LYX_DIR_21x
+ build directory you have to set the environment variable LYX_DIR_22x
and it must point to the lib dir in the source tree.
- Linux/Unix: export LYX_DIR_21x=<lyx-source>/lib
- Windows : set LYX_DIR_21x=<lyx-source>\lib
+ Linux/Unix: export LYX_DIR_22x=<lyx-source>/lib
+ Windows : set LYX_DIR_22x=<lyx-source>\lib
Windows specific
-- LYX_ASPELL = OFF : Require aspell
-- LYX_ENCHANT = OFF : Require Enchant
-- LYX_HUNSPELL = OFF : Require Hunspell
- -- LYX_DEVEL_VERSION = OFF : Build developer version
-- LYX_RELEASE = OFF : Build release version, build debug when disabled
-- LYX_PACKAGE_SUFFIX = ON : Use version suffix for packaging
-- LYX_PCH = OFF : Use precompiled headers
-- LYX_CONSOLE = ON : Show console on Windows
-- LYX_VLD = OFF : Use VLD with MSVC
-- LYX_WALL = OFF : Enable all warnings
- -- LYX_CONFIGURE_CHECKS = OFF : Also run configure checks for MSVC
-- LYX_DEPENDENCIES_DOWNLOAD= OFF : Download precompiled 3rd party libraries for MSVC 10