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 can say:

   find_package (Threads)

that will pick up the platform specific thread files. There is also a pre-defined package for UCS. It's straight forward to write your own packages, which I did for the MPIR multiple precision arithmetic libraries.

I tend to do primary development on Visual Studio, which works very, very well with CMake. The only thing that doesn't work very well is using Visual Studio to generate new builds when a CMakeLists.txt file is changed, which can readily corrupt the project .sdf file. Deleting that file and doing a full rebuild generally works, but closing the project, doing an explicit cmake gen, and re-opening the project is much less of a hassle.


On 12/16/2014 4:12 AM, 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 icu, zlib and other libraries into the build (I saw discussions here about them during last 2-3 weeks).

I hope you find this useful and consider including this into trunk.
If you like it, we'll discuss details about patch later.

p.s. I read some previous discussions in fb-devel list about CMake, but no one presented a working patch.

--
Egor Pugin


------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk


Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to