Re: Bundled 3rdparty libraries
Peter Kümmel wrote: > > I pushed the changes, 3rdparty/ is now on the same level as src/. Very good! IMO we should also add these files to the source tar ball (by creating proper Makefile.am), so that people are not required to build from git if they want to use these libs. I could do this if wanted, it will only take a copule of minutes. Georg
Re: Bundled 3rdparty libraries
Good idea. JMarc Le 18 décembre 2015 20:35:44 GMT+01:00, Georg Bauma écrit >IMO we should also add these files to the source tar ball (by creating >proper Makefile.am), so that people are not required to build from git >if >they want to use these libs. > >I could do this if wanted, it will only take a copule of minutes.
Re: Bundled 3rdparty libraries
I pushed the changes, 3rdparty/ is now on the same level as src/. It also builds on Windows with MinGW now. The MinGW based system it's the simplest way to get a developer setup on Windows: use Qt installer from qt.io, install the MinGW Qt and the MinGW Compiler under Tools (same compiler version which Qt is build with), that's it. And install Ninja, the fastest way to build on Windows, https://ninja-build.org . PATH changes with standard Qt installation on C: set PATH=C:\Qt\5.5\mingw492_32\bin;%PATH% set PATH=C:\Qt\Tools\mingw492_32\bin;%PATH% Build: cmake -GNinja ..\lyx -DLYX_USE_QT=QT5 -DLYX_3RDPARTY_BUILD=1 -DLYX_RELEASE=1 ninja ninja install/strip Peter
Re: Bundled 3rdparty libraries
Le 11/12/2015 19:25, Georg Baum a écrit : Nice, this is a big step forward! I'd like to change just one thing: Move the 3rdparty directory to the top. This results in a better separation from the LyX sources and makes it less easy to include headers directly without setting proper include paths. Then we could also move boost into the directory, and if it is needed in the future, we could also add other third party resources that are not sources, e.g. images. We have some MyThes files somewhere too. JMarc
Re: Bundled 3rdparty libraries
Peter Kümmel wrote: > https://github.com/syntheticpp/lyx/commits/3rdparty > > I would like to merge above Branch which adds src/3rdparty with stripped > down sources of zlib iconv and hunspell. > > Build and usage of these libs is controlled by LYX_3RDPARTY_BUILD and has > been trdted with mingw-cross, msvc2013 and msvc2015. > > I see this as the starting point for a simpler dependency handling. Nice, this is a big step forward! I'd like to change just one thing: Move the 3rdparty directory to the top. This results in a better separation from the LyX sources and makes it less easy to include headers directly without setting proper include paths. Then we could also move boost into the directory, and if it is needed in the future, we could also add other third party resources that are not sources, e.g. images. Georg
Bundled 3rdparty libraries
https://github.com/syntheticpp/lyx/commits/3rdparty I would like to merge above Branch which adds src/3rdparty with stripped down sources of zlib iconv and hunspell. Build and usage of these libs is controlled by LYX_3RDPARTY_BUILD and has been trdted with mingw-cross, msvc2013 and msvc2015. I see this as the starting point for a simpler dependency handling.