Kornel Benko
8899e4d6cc
Cmake build: Amend 1b5f8f27
2024-01-13 10:49:14 +01:00
Kornel Benko
bbe84fbee5
Amend 137fd291c2
for cmake (change of AC_INIT params)
2023-07-27 07:10:32 +02:00
Stephan Witt
f88986eff5
Improved LYX_BUILD_TYPE detection for cmake - case insensitive AC_INIT processing
2023-06-19 08:02:59 +02:00
Kornel Benko
431379615e
Amend(4) 580dea63
: get rid of Qt4 code also in cmake build
2022-11-22 18:48:46 +01:00
Kornel Benko
580dea638d
Amend ac248e39
, get rid of Qt4 code also in cmake build
2022-11-19 15:50:11 -05:00
Kornel Benko
c07278a45c
Cmake build: Syntax of AC_INIT() in configure.ac changed, adapted macro
2020-12-29 20:27:19 +01:00
Kornel Benko
2ec243d47b
Cmake build: Fine tuning
...
1.) If building with external iconv, remove remnants of libiconv data
created if previousy used internal iconv
2.) Remove the variable HELP from cache to enable subsequent builds.
(Different variable-handling on new cmake (version >= 3.18))
3.) New macro to extract cmake-known-cxx-sts features
4.) Check for CXX11-features only for a subset of possibilities
known by the used cmake
2020-10-28 23:12:03 +01:00
Kornel Benko
26fa3b3d9d
Cmake build: Move interpretation of configure.ac to own function
...
Created function determineversionandbuildtype() in development/cmake/modules/LyXMacros.cmake
2020-07-12 16:27:45 +02:00
Kornel Benko
0362ec022b
Cmake build: Correct display cmake options
...
The change allows to display options whose string-length
is less than 10 characters.
The previous setting truncated the string to 4 chars,
which is too few for a string like e.g. "NATIVE".
2019-07-14 11:12:55 +02:00
Kornel Benko
0f798d6675
Cmake build: Allow numbers in lyx-suffix too
...
That way we can use '-DLYX_SUFFIX_VALUE=123.456'
2017-04-30 17:01:31 +02:00
Kornel Benko
fa85bf9b59
Cmake build: Added check for pythons polib module
...
Idea stolen from http://public.kitware.com/pipermail/cmake/2011-January/041666.html
2016-07-24 11:20:08 +02:00
Kornel Benko
7c0eba4d75
Cmake build: Allow user defined suffix for program files
2016-06-05 16:26:59 +02:00
Kornel Benko
41447b1225
Cmake export tests: Label handling
...
In collaboration with Günter Milde:
1.) Allow char ':' be part of a ctest-label
2.) Eliminate redundant label naming and directory names
(The testnames should not repeat the directory name)
2016-03-26 13:06:14 +01:00
Kornel Benko
4e9fe808d7
Cmake export tests: Correct some quirks
...
1.) Label lyx2lyx was handled wrong (removed '2')
2.) tests were named '_lyx2lyx' instead of only 'lyx2lyx'
2015-12-17 12:57:34 +01:00
Kornel Benko
a9764cf191
Cmake build: Initialize some variables before use.
2015-12-09 15:37:58 +01:00
Kornel Benko
cf3156d22d
Cmake export tests: Create concatenated labels in the form 'export:reverted:examples:chemgreek'
2015-12-02 22:18:43 +01:00
Kornel Benko
e39025797e
Cmake export tests: Remove label 'reverted' from suspended tests.
...
LyXMacros.cmake: Overseen the macro 'setmarkedtestlabel()' which added it automatically
if the test was to invert the test result.
ExportTests.cmake: Correct label handling
2015-12-02 13:28:16 +01:00
Kornel Benko
552ca45843
Cmake tests: macro setmarkedtestlabel() worked only by chance
...
We have to check the content of the variable.
2015-11-02 21:44:38 +01:00
Kornel Benko
63976066ad
avoid qt4 variable names in cmake build
2014-07-21 08:49:05 +02:00
Kornel Benko
3b14de740d
Cmake build: Symplify use of linking optional libraries found via find_package
2014-06-12 19:02:29 +02:00
Kornel Benko
cc6175bc96
Cmake build: Early check for wrong combo values
2014-06-09 10:03:56 +02:00
Kornel Benko
2a0ae2e739
Cmake build: Add combo-values to the list of displayed lyx options
2014-06-07 21:00:46 +02:00
Kornel Benko
8c0e1b5c70
Cmake build: Added convenience macro LYX_COMBO
...
Will be used later to allow selection between multiple alternatives.
2014-06-07 10:45:13 +02:00
Peter Kümmel
080fca85a8
build with mingw on Windows and Linux
2014-06-07 08:06:13 +02:00
Kornel Benko
f2553ebf6c
Cmake build tests: Threadsafety and test-labeling
...
The tests are now more robust if ctest uses '-j' (number of threads) parameter.
a.) keytests are running in sequence and in one thread only, no other thread running
b.) tex2lyx tests are locking in respect to each other
c.) Test gets one or more labels, so that we can select
ctest -L url
to run tests labeled url
d.) New macro settestlabel() to add labels to a test
2013-09-07 09:25:02 +02:00
Vincent van Ravesteijn
6f8a74791b
Adjust CMake for Qt5
2013-04-23 21:45:49 +02:00
Vincent van Ravesteijn
09c2e58373
Extend and use qt4_wrap_ui
2013-04-23 21:45:39 +02:00
Kornel Benko
1b65a03c13
Cmake build: cleanup
2012-10-25 11:19:09 +02:00
Kornel Benko
d854ded56e
Cmake build:
...
Do not recreate Resources.qrc at build-time for WIN32.
(For some yet unknown reason it does not work)
2012-10-24 10:24:59 +02:00
Kornel Benko
2626821ee2
Cmake build:
...
Modifications needed to work also if the path to build-dir
contains spaces. (Tested on linux)
2012-10-23 13:23:07 +02:00
Kornel Benko
e94e9e415f
Cmake build:
...
Recreate Resources.qrc at build-time if needed. (E.g. after `make clean')
2012-10-21 19:16:37 +02:00
Peter Kümmel
f8c077adfc
cmake: create .bat with cmake command and options
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39261 a592a061-630c-0410-9148-cb99ea01b6c8
2011-07-08 21:30:13 +00:00
Peter Kümmel
62ee3c8291
cmake: create shell script with used options
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39260 a592a061-630c-0410-9148-cb99ea01b6c8
2011-07-08 20:53:59 +00:00
Kornel Benko
20d3484075
Compile fix for Qt 4.5 and earlier.
...
Update for cmake build.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38996 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-08 20:22:27 +00:00
Peter Kümmel
445713eae8
cmake: fix option listing
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38766 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-15 13:37:18 +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
Peter Kümmel
715d9784f1
cmake: don't add lyx.rc as info file
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37776 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-23 18:53:56 +00:00
Joost Verburg
6db49535bf
Do not set all CMake files as C header files. This fixes resource compilation.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37702 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-16 20:51:40 +00:00
Peter Kümmel
da246c7e44
cmake: don't show outdated build options
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37291 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-22 09:27:06 +00:00
Peter Kümmel
51558fbf23
cmake: we have 2011 and more white space changes, won't call it "use tabs" ;)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37175 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-10 23:28:52 +00:00
Peter Kümmel
707eeb22fb
cmake: we have 2011 and more white space changes, won't call "use tabs" ;)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37174 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-10 23:24:00 +00:00
Peter Kümmel
cdb3b00033
cmake: cmake is really a strange macro language
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37173 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-10 23:01:13 +00:00
Peter Kümmel
715b9e92bd
cmake: make the merged build much more usable by adding all the source files to the IDE
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37169 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-10 22:47:58 +00:00
Pavel Sanda
8f5acc63c4
Replay r36746
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36755 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-07 00:13:16 +00:00
Pavel Sanda
c68d754a74
Revert commits from 36745
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36749 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-07 00:05:40 +00:00
Peter Kümmel
56e0cfd582
cmake: add option to rebuild merged files
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36746 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-06 20:55:05 +00:00
Kornel Benko
b308435f04
Mark created moc-files as GENERATED
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35576 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-08 06:00:10 +00:00
Peter Kümmel
07eef68a90
cmake: only set and show compiler relevant options
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34803 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-07 22:26:36 +00:00
Peter Kümmel
2b99cacec9
cmake: more option cleanup, use LYX_OPTION macro for consistent messages and variable naming
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34790 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-06 19:47:16 +00:00
Vincent van Ravesteijn
8326148f69
Fix CMake for r31189.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31204 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-22 17:37:56 +00:00