Uwe Stöhr
deb8e48efa
build5-2010.bat: simplify script
...
* This is a script for MSVC2010 so assume this is used
* Fix a typo
* Load the MSVC build environment
2016-01-28 00:07:43 +01:00
Uwe Stöhr
c5236c42b9
build5-2010.bat: use the same CMake parameters as in build5-2010-installer.bat
2016-01-26 01:57:15 +01:00
Peter Kümmel
44fd57e4b4
python now will be found, rmdir could fail
2016-01-22 12:47:23 +01:00
Peter Kümmel
0477e01d3e
use Qt default path, don't touch source tree
2016-01-19 17:39:52 +01:00
Uwe Stöhr
41d5acdca3
Win build scripts: add a one-click script for installer builds
...
- also restore a build script for daily development work
- remove 2 outdated/unnecessary scripts
2016-01-19 02:21:06 +01:00
Peter Kümmel
e30b1d67fc
rename build directory
2016-01-17 18:52:20 +01:00
Peter Kümmel
2f290a46d2
clean build with MSVC2010
2016-01-17 18:34:15 +01:00
Uwe Stöhr
1822d44c58
add 2 Windows build scripts for LyX 2.2
...
- build4-2010.bat: MSVC 2010 and Qt 4.8.7 (as backup)
- build5-2010.bat: MSVC 2010 and Qt 5.5.1
I tested both scripts thoroughly and the resulting LyX build is stable. Please feel free to modify them if something can be improved.
2016-01-14 00:39:32 +01:00
Peter Kümmel
6e3a4ecfe7
mingw.bat: circumvent critical python detection
...
LyX could be build with a double click on mingw.bat.
2016-01-13 15:46:44 +01:00
Peter Kümmel
275d5a66a5
use Qt 5.5.1
2016-01-13 13:12:25 +01:00
Peter Kümmel
407bb15bde
add batch file for MinGW build on Windows
2016-01-12 20:10:51 +01:00
Peter Kümmel
ff8719497a
also install cross compiled lyx
2016-01-06 14:24:22 +01:00
Peter Kümmel
f09202c69c
fix broken xmingw script
2016-01-06 13:07:59 +01:00
Peter Kümmel
2a112d8a65
add script to cross-compile for Windows
2015-12-20 14:42:24 +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
Peter Kümmel
11f9c71d75
fix MinGW build on Windows
2015-12-15 13:20:11 +01:00
Peter Kümmel
7d2c054611
also build without gnuwin32 directory
2015-12-15 13:20:10 +01:00
Peter Kümmel
2ce5ca7fcc
improve mingw runtime detection
2015-12-15 13:20:09 +01:00
Kornel Benko
afaf28964a
Cmake build: Map '\origin unavailable' to appropriate value on install
...
For example for lib/doc.de/xyzzy.lyx the entry is changed to
\origin /systemlyxdir/doc/de/
2015-12-13 16:08:27 +01:00
Kornel Benko
a9764cf191
Cmake build: Initialize some variables before use.
2015-12-09 15:37:58 +01:00
Uwe Stöhr
11e12c787a
build5.bat: explicitly set QT5
2015-12-08 01:40:48 +01:00
Uwe Stöhr
01e0292028
build5.bat: a script to compile with Qt5 on Windows
...
This script shows how i compile. If we figured out every corner cases with it it should become the standard build script for Windows
2015-12-08 01:23:54 +01:00
Georg Baum
a15aafa2a1
Use std::regex automatically in C++11 mode
...
This is consistent with autotools. The only exception is MSVC, since we do not
know yet whether it works.
2015-12-06 20:04:21 +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
Uwe Stöhr
3fc47f2a5c
build.bat: add -DLYX_ENABLE_EXPORT_TESTS=ON and add a note about Ninja
2015-12-02 00:42:40 +01:00
Georg Baum
0aa3e78f5c
Explain how to use parallel compilation in MSVC
2015-12-01 20:55:05 +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
Peter Kümmel
c39869cc61
Also cross compile with Qt5
...
Assume Ubuntu pathes for mingw.
2015-10-23 16:34:55 +02:00
Kornel Benko
8c3dbe19b6
Cmake build: Adapt use of c++11 for cygwin too.
...
Change done according to commit 864a4db26b
2015-09-09 14:45:55 +02:00
Kornel Benko
46d2344902
Cmake build: Adapt detection of C++11 mode to automake
2015-09-03 11:15:10 +02:00
Kornel Benko
a911b1cc65
Cmake build: Define LYX_USE_CXX11 iff using c++11 extensions after commit 329eae5605
.
2015-05-20 12:07:41 +02:00
Kornel Benko
7fb1dfe61e
Add debug output while handling debian package dependences
...
This is cmake build only
2015-05-14 21:19:59 +02:00
Georg Baum
51cc8aa9f6
Fix build with GNU libstdc++ C++11 ABI
...
The GNU libstdc++ that ships witch gcc 5 can be used with the same ABI as
older versions, or with a new ABI which is conformant to the C++11 standard.
LyX did not build if the latter was used:
https://kojipkgs.fedoraproject.org//work/tasks/1267/9651267/build.log
This is now fixed by detecting the ABI version and disabling the wrong forward
declarations. At the same time, STD_STRING_USES_COW is switched off for the
C++11 ABI version, because the std::basic_string implementation is now C++11
conformant. Since the GNU libstdc++ can also used by other compilers such as
clang, we must not test for the compiler version.
2015-05-08 21:12:42 +02:00
Kornel Benko
390b59011d
Cmake build: Do not install .pdf icons created by export
...
Such files are polluting the lib/images directory if
exporting lyx-files containing lyx-info of type icon.
2015-04-01 17:26:13 +02:00
Kornel Benko
6787ec05f7
Cmake build: Add .svgz files to Resources.
...
It does not seam to make a difference.
Added because other icons are also included.
2015-03-17 20:46:02 +01:00
Kornel Benko
2008e0876f
Cmake build: Remove deleted svg subdir from installation.
...
Also added missing images/math/oxygem icons to installation.
2015-03-14 16:15:35 +01:00
Kornel Benko
da46f6566a
Preparation to support translations with python3
...
Thanks to José.
2015-03-11 20:54:28 +01:00
Enrico Forestieri
9126a99e97
Fix bug #9217 : [Qt5] QWindowsMime class not available
...
The support for QWindowsMime has been reintroduced in Qt 5.4.0.
The class name has been changed to QWinMime but the interface
is exactly the same.
2014-12-26 16:53:31 +01:00
Georg Baum
6f34a8a640
Get rid of tr1 support
...
As discussed on the list. We don't need it anymore, either we have a modern
compiler that supports C++11, or we fall back to boost. I kept and adjusted
the regex #define, since we cannot use std regex completely yet.
2014-12-23 22:18:08 +01:00
Georg Baum
7796ad3a36
Improve llvm libc++ detection
...
The old detection did only work if CFLAGS contained -std=c++11, since ciso646
was only included for __cplusplus > 199711.
Thanks to Koernel for the cmake part.
2014-12-21 17:26:21 +01:00
Kornel Benko
98d063e9be
Cmake build: Check for string COW by checking for library, not compiler
...
Changed according to automake behaviour, see 385f3e8abd
2014-12-19 12:32:14 +01:00
Kornel Benko
edf22ba723
Cmake build: Detect clang and adapt definition of STD_STRING_USES_COW.
2014-12-08 17:43:05 +01:00
Kornel Benko
07683c1f0d
Cmake build: 'callstack printing' detection.
...
Instead of depending on compiler we try to check for working
API as is done now for automake build too.
2014-11-09 12:59:14 +01:00
Kornel Benko
81afd10fc7
Cmake build: Moved creation of variable LYX_GIT_COMMIT_HASH to development/cmake/scripts/LyXGetVersion.cmake.
...
1.) The only file which needs this define is src/version.cpp. Our use in config.h
resulted in recompiling most of our sources.
With this change, only version.cpp needs to be recompiled.
2.) Without reconfiguring, the old commit hash was still valid. Now the
detection of commit hash is done at compile time.
2014-10-24 16:58:54 +02:00
Kornel Benko
110f39482e
Cmake buid: Install the new svgz icons
2014-10-18 16:53:41 +02:00
Kornel Benko
a24e076046
Add the git commit (if applicable) to LyX version
...
Addition to cmake.
Patch mostly from Stephan Witt.
2014-10-11 11:18:48 +02:00
Uwe Stöhr
056ae6a9fe
Install.cmake: add missing subfolder "\templates\springer" and remove an unnecessary folder
...
we don't need to install the attic template files. These are for years now in attic and LyX 2.2. should make a cut somehow for very old attic material
2014-09-25 00:25:02 +02: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