Friday, February 29, 2008

 

Shrine of the Mall Ninja

I was crying with laughter while reading this: http://lonelymachines.org/mall-ninjas/


Tuesday, February 26, 2008

 

Proud Teacher

Today, a development team I've worked with solved an architectural problem by adding a factory method. And they did it without any prompting from me!

They grow up so fast.


Tuesday, February 19, 2008

 

Large Fonts

A few days ago, I finally had to change my Windows machine's settings from "Normal" font size to "Large" font size. Normal-sized text was getting too hard to read.

It's certainly not the first sign of aging I've noticed, but this is the first time I've had to make an adjustment in my work environment to compensate. I wonder what will be next.


 

Good-bye SCons, Hello CMake

Last year, I wrote of my initial impressions of SCons for controlling software builds. My initial impressions were positive, but even then I was wary of performance issues.

A few months later, I wrote about a performance problem with SCons and MSVC. I was able to hack SCons to make things a little better.

Things weren't bad for me, because I've been doing all my development on Linux, where SCons is pretty well-behaved. But the Windows developers hated it. SCons will build MSVC project files so that developers can edit and browse code through the IDE, but the builds are still controlled by SCons, and SCons was painfully slow on Windows. As the codebase grew, SCons got slower and slower.

The boss put up with it for a while, but he finally decided that enough was enough. I was ordered to find something better than SCons for our cross-platform builds.

We weren't the only people dissatisfied with SCons. The KDE team had tried SCons, found it lacking, then started their own Python-based build system based on SCons, which eventually became Waf. I looked at Waf briefly, but the immaturity of the project and lack of documentation turned me off.

I read that the autotools system was starting to provide better support for Windows, but I didn't think that solution would go over well with the team members and leaders who passionately hate things that are too UNIX-ish.

So, after reading that the KDE team finally settled on CMake, I decided to give that a try.

I've spent the last couple of days translating build scripts from SCons into CMake. So far, I'm pretty pleased with the results.

Pros of CMake over SCons:

Cons:

I'm happy with the switch to CMake, and I'm sure the boss will be too. But who knows; maybe next year I'll be writing yet another blog entry about the need to adopt a new build system.


This page is powered by Blogger. Isn't yours?