Commit Graph

28 Commits

Author SHA1 Message Date
Kornel Benko
889d10cda3 Cmake build: Adapt to compile with qt5.11
Since qt5_use_modules() is removed from QT5 (as spotted
by Jürgen Spitzmüller), we had to create own version
of this macro.

According to this page:
http://doc.qt.io/qt-5/cmake-manual.html
the way to replace use of qt5_use_modules() for module "_mod" and target "_target"
is to use
  1.) cmake_minimum_required(VERSION 3.1.0)
  2.) find_package(Qt5${_mod} CONFIG REQUIRED)
  3.) target_link_libraries(${_target} Qt5::${_mod})
The last one sets all reguired libraries, compile flags and needed includes for the ${_target}

Disable possible warn about not known policy

Extend Clang compiler detection to cover Apple CLang

(cherry picked from commit d6b21e20e2)
(cherry picked from commit 72a2f92239)
(cherry picked from commit 6343452a73)
(cherry picked from commit cb08d4a879)
(cherry picked from commit 1bf4d7b0fc)
2018-06-20 00:09:19 +02:00
Jean-Marc Lasgouttes
9fe8190364 Make "devel mode" configurable at run time
Traditionally LyX behaves differently when the directive DEVEL_VERSION
is defined at compile time. This covers
* more detailed description of current position in status bar
* the help files are open in read/write mode
* more detailed debug output in the View Source panel

This patch introduces the new function devel-mode-toggle that allows
to use devel mode in stable releases, and vice versa.

The information is saved in the session file. The default is to
disable devel mode.

Remove all traces of DEVEL_VERSION in autoconf and cmake
2017-07-24 22:00:44 +02:00
Kornel Benko
a71fba47ab Cmake windows build: Discard use of configCompiler.h.msvc
This file doubles the struggle when inventing new configuration tests.
Hopefully we get soon a confirmation if the withdraw is OK.
2016-06-15 11:29:09 +02:00
Georg Baum
7c642c5af8 Update LYX_DIR_21x environment variable 2015-10-09 21:47:01 +02:00
Georg Baum
ad8e7bb56f Document how to use Qt 5 with cmake 2015-10-09 21:19:41 +02:00
Kornel Benko
0af49debee Cmake build: Remove support for concept checks.
See also commit 7f4101a
2015-09-25 14:55:50 +02:00
Vincent van Ravesteijn
a3c864102a CMake: Remove libintl 2013-05-30 22:10:01 +02:00
Scott Kostyshak
4c49fec5be Update links for Windows supplementary modules
Update the link for Visual Studio 2010 and drop the link
for Visual Studio 2008.
2013-02-02 04:00:45 -05:00
Scott Kostyshak
b8eb4bb99b INSTALL.cmake: typos, grammar, and whitespace 2013-01-31 05:31:47 -05:00
Scott Kostyshak
14d388e0db Add a space in CMake flag description 2013-01-30 06:53:00 -05:00
Georg Baum
f86c7150d2 Update cmake instructions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39877 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-17 20:10:29 +00:00
Peter Kümmel
842f0d3d44 cmake: -Dhelp=1 lists all options
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38696 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-10 20:25:31 +00:00
Kornel Benko
f66746be70 Update INSTALL.cmake
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38629 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-08 08:48:13 +00:00
Peter Kümmel
8f993bfcf1 cmake: update readmes, we have now a top level cmake file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38611 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-07 11:47:30 +00:00
Peter Kümmel
970b240cb0 how to run lyx from out-of-source dir
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38132 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-29 20:39:02 +00:00
Peter Kümmel
a02849a0eb update INSTALL.cmake
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37924 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-14 23:25:08 +00:00
Peter Kümmel
40dcf20b5d cmake: add option to download msvc 10 3rd party libraries
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37370 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-30 10:23:29 +00:00
Peter Kümmel
b2613e0d9c describe package commands for binaries
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37301 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-22 12:42:54 +00:00
Peter Kümmel
73070977da cmake: make package_source work.
12M lyx-2.0.tar.bz2
15M lyx-2.0.tar.gz
18M lyx-2.0.zip



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37300 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-22 12:40:13 +00:00
Peter Kümmel
11ea87bcd7 Update INSTALL.cmake
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37298 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-22 12:19:19 +00:00
Peter Kümmel
3539495abf cmake: update readme
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33888 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-28 12:29:45 +00:00
Peter Kümmel
15f850609c cmake: update Readme
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33869 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-25 21:37:42 +00:00
Peter Kümmel
9f386871ae cmake: add Ubuntu packages names to instructions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31894 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-07 13:23:30 +00:00
Peter Kümmel
f604b54165 build out of the box with win32libs from the kdewin installer
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23924 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-24 14:19:36 +00:00
Peter Kümmel
640c283015 add vld info
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21926 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-02 18:35:11 +00:00
André Pönitz
ef999ad9d5 wrong slashs...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19737 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-22 21:48:06 +00:00
Peter Kümmel
6295190087 polish
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19047 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-11 18:31:47 +00:00
Jean-Marc Lasgouttes
0ffdae7651 Rename development/cmake/README.cmake to INSTALL.cmake
Actually distribute the cmake files with LyX.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19034 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-11 07:27:56 +00:00