Re: [Firebird-devel] cmake build system

2015-11-11 Thread Alex Peshkoff
On 11/11/2015 04:17 PM, Treeve Jelbert wrote: > I have been happily using cmake to build fb3 on Linux. > I was therefore disappointed to discover that the cmake files are not > included in th fb3-rc1 tarball. > > Would it be possible to include them in RC2, possibly with a warning > note? Please a

Re: [Firebird-devel] CMake build system

2014-12-30 Thread Alex Peshkoff
On 12/29/14 21:00, Egor Pugin wrote: > Here are notes about my crosscompiling experience. > > As we cannot run arm binaries on i?86/x86_64 I skip the boot stage. > Generated files were taken from the native build directory. So, there > are no boot binaries, only master versions. This is related to

Re: [Firebird-devel] CMake build system

2014-12-29 Thread Egor Pugin
Here are notes about my crosscompiling experience. As we cannot run arm binaries on i?86/x86_64 I skip the boot stage. Generated files were taken from the native build directory. So, there are no boot binaries, only master versions. This is related to both android/ios. CMake can use predefined se

Re: [Firebird-devel] CMake build system

2014-12-29 Thread Alex Peshkoff
On 12/28/14 22:09, Egor Pugin wrote: > p.s. Alex asked here about crosscompiling with CMake. > I built Firebird on Windows using Android NDK for ARMv7 architecture. > iOS build starts but does not complete because of lack of some support in > Firebird sources (missing defines etc.). > That's nice

Re: [Firebird-devel] CMake build system

2014-12-28 Thread Egor Pugin
So... Should I prepare a patch? Will you commit it? I didn't see any major objections to CMake in this thread. p.s. Alex asked here about crosscompiling with CMake. I built Firebird on Windows using Android NDK for ARMv7 architecture. iOS build starts but does not complete because of lack of some

Re: [Firebird-devel] CMake build system

2014-12-19 Thread Egor Pugin
I updated the build system, so it is nearly twice faster than before. yvalve and Engine12 sources (not .epp) are compiled only once during the build. You can try on linux to see if there is still some annoying steps during rebuild. Also I added project groups to the project tree (boot, extern, exa

Re: [Firebird-devel] CMake build system

2014-12-17 Thread Egor Pugin
Yes, this is a problem. I know possible solution and will try to fix it. On 17 December 2014 at 13:16, Adriano dos Santos Fernandes < adrian...@gmail.com> wrote: > > On 17/12/2014 08:03, Egor Pugin wrote: > > In Visual Studio: > > 1. Select boot_* (boot step), epp_* (boot and master epp -> cpp > >

Re: [Firebird-devel] CMake build system

2014-12-17 Thread Adriano dos Santos Fernandes
On 17/12/2014 08:03, Egor Pugin wrote: > In Visual Studio: > 1. Select boot_* (boot step), epp_* (boot and master epp -> cpp > steps), databases (security.fdb, messages.fdb, help.fdb generation), > messages (firebird.msg generation), other projects you need to turn > off (examples, etc). Right clic

Re: [Firebird-devel] CMake build system

2014-12-17 Thread Egor Pugin
In Visual Studio: 1. Select boot_* (boot step), epp_* (boot and master epp -> cpp steps), databases (security.fdb, messages.fdb, help.fdb generation), messages (firebird.msg generation), other projects you need to turn off (examples, etc). Right click - unload projects. They still will be unloaded

Re: [Firebird-devel] CMake build system

2014-12-16 Thread Adriano dos Santos Fernandes
On 16-12-2014 07:12, Egor Pugin wrote: > Hi! > > ​I prepared building of Firebird using CMake. > You can find more information on the link below. Also you can try it. > https://bitbucket.org/egor_pugin/firebird_cmake > > CMake can simplify the build process, solve a lot of problems with > integra

Re: [Firebird-devel] CMake build system

2014-12-16 Thread Jim Starkey
I've used CMake for at least a dozen different projects over about a decade. It's superb. I use a single set CMake files to generate builds for Visual Studio, Linux/make/gcc, and XCode (mega-ugh). A particularly nice feature of CMake is its support for abstract packages. For example, you ca

Re: [Firebird-devel] CMake build system

2014-12-16 Thread Mark Rotteveel
On Tue, 16 Dec 2014 12:23:11 +0100, Philippe Makowski wrote: > Le 16/12/14 12:05, Dmitry Yemanov a écrit : >> Besides your questions, I would also appreciate an example of how to >> build FB using CMake and what dependencies are required for that. >> > > Seems that's all explanations are there :

Re: [Firebird-devel] CMake build system

2014-12-16 Thread Alex Peshkoff
On 12/16/14 14:53, Egor Pugin wrote: > Here are some answers: > >> Mentioned CO command >> git clone g...@bitbucket.org:egor_pugin/firebird_cmake.git > firebird_cmake_bs >> does not work for me. > Try: > git clone https://bitbucket.org/egor_pugin/firebird_cmake.git > firebird_cmake_bs OK, this wor

Re: [Firebird-devel] CMake build system

2014-12-16 Thread Egor Pugin
Here are some answers: > Mentioned CO command > git clone g...@bitbucket.org:egor_pugin/firebird_cmake.git firebird_cmake_bs > does not work for me. Try: git clone https://bitbucket.org/egor_pugin/firebird_cmake.git firebird_cmake_bs > But the main problem that cmake patch (specially with 2-stag

Re: [Firebird-devel] CMake build system

2014-12-16 Thread Alex Peshkoff
On 12/16/14 14:23, Philippe Makowski wrote: > Le 16/12/14 12:05, Dmitry Yemanov a écrit : >> Besides your questions, I would also appreciate an example of how to >> build FB using CMake and what dependencies are required for that. >> > Seems that's all explanations are there : > https://bitbucket.o

Re: [Firebird-devel] CMake build system

2014-12-16 Thread Philippe Makowski
Le 16/12/14 12:05, Dmitry Yemanov a écrit : > Besides your questions, I would also appreciate an example of how to > build FB using CMake and what dependencies are required for that. > Seems that's all explanations are there : https://bitbucket.org/egor_pugin/firebird_cmake The readme is pretty g

Re: [Firebird-devel] CMake build system

2014-12-16 Thread Dmitry Yemanov
16.12.2014 13:42, Alex Peshkoff wrote: > > But the main problem that cmake patch (specially with 2-stage build) is > hardly needed for most of current developers. True, but we need to think not only about current developers but also about possible contributors. If they're more confortable with CM

Re: [Firebird-devel] CMake build system

2014-12-16 Thread Alex Peshkoff
On 12/16/14 12:12, Egor Pugin wrote: > Hi! > > ​I prepared building of Firebird using CMake. > You can find more information on the link below. Also you can try it. > https://bitbucket.org/egor_pugin/firebird_cmake > > CMake can simplify the build process, solve a lot of problems with > integration