lyx_mirror/development/cmake
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
..
doc cmake documentation handling: sort out encoding problems. 2017-10-21 22:25:59 +02:00
man CMake: Put the docs projects in a subdirectory 2014-02-03 20:07:14 +01:00
modules Cmake build: Adapt to compile with qt5.11 2018-06-20 00:09:19 +02:00
po unix2dos.py: make it ready for python 3 2017-12-09 00:24:20 +01:00
post_install CMake install and bundling improvements (esp. OS X) 2014-04-21 11:51:04 -04:00
scripts Sort images file list also for cmake 2017-06-27 19:18:24 +02:00
build5-2015-installer.bat build5*.bat: update to Qt 5.9.4 2018-01-24 01:19:19 +01:00
build5-2015-x64.bat build5*.bat: update to Qt 5.9.4 2018-01-24 01:19:19 +01:00
build5-2015.bat build5*.bat: update to Qt 5.9.4 2018-01-24 01:19:19 +01:00
config.cpp.cmake rename config.C.cmake to config.cpp.cmake 2007-10-07 11:10:45 +00:00
config.h.cmake Add support for enchant 2.x 2018-03-19 17:33:17 +01:00
configCompiler.h.cmake Support new hunspell C++ ABI if LyX is built against hunspell >= 1.5 2018-04-14 10:35:59 +02:00
configCompiler.h.msvc Remove boost/format support 2016-05-29 17:55:45 -04:00
configFunctions.cmake Fix typo in configFunctions.h (wrong define for the header) 2014-03-13 08:28:06 +01:00
configIncludes.cmake Cmake build: Creating a define for a header file found 2013-02-12 19:01:16 +01:00
ConfigureChecks.cmake Merge branch '2.3.2-staging' into 2.3.x 2018-04-14 23:52:31 -04:00
dmg cmake: build a .dmg file on Mac, looks not as nice as the official installer but it runs 2011-05-15 13:21:18 +00:00
Install.cmake Add suffixed lyxconvert to cmake build. 2017-10-03 22:09:57 +02:00
lyx_commit_hash.h.cmake Cmake build: Moved creation of variable LYX_GIT_COMMIT_HASH to development/cmake/scripts/LyXGetVersion.cmake. 2014-10-24 16:58:54 +02:00
lyx_date.h.cmake Cmake build: 2012-11-01 13:00:19 +01:00
LyX_description.txt Cmake package: Correct description. 2016-09-23 13:39:23 +02:00
LyX_license.txt CMake install and bundling improvements (esp. OS X) 2014-04-21 11:51:04 -04:00
LyX_summary.txt Kornel really needs write access 2009-02-15 14:02:26 +00:00
lyx.rc cmake: add icon on Windows 2010-06-30 08:35:52 +00:00
LyxPackaging.cmake Cmake build: Needed variable for creation of debian package 2017-10-08 08:30:16 +02:00
mingw.bat Require a C++11 compiler 2016-06-07 20:34:52 +02:00
pcheaders.h Replace Boost.Signals with Boost.Signals2 2016-06-09 22:25:34 +02:00
PyCompile.cmake Make installed python scripts executable (as in autotools) 2011-05-08 07:28:19 +00:00
TODO.txt Make "devel mode" configurable at run time 2017-07-24 22:00:44 +02:00