Improved Version of CMake Builder for Hudson

Introducing version 1.5 of cmake builder plugin for Hudson.

Today I just want to give a small round-up of the improvements made on the cmake builder plugin since my last blog post. Back then, version 1.2 was released to support master/slave configurations. As of yesterday, we are at version 1.5 which contains the following improvements/bug-fixes:

  • Bug: The drop-down box for selecting the build type didn’t remember its value. This was fixed with a patch by Atte Timonen.
  • Improvement: Also included in Atte’s patch was the propagation of environment variables to the cmake command which now allows to do parameterized builds. A big thank’s to Atte!
  • Improvement: The install command gets only executed when install directory and install command is given. Before, the build was either broken or $WORKSPACE was used automatically as install directory. Thanks to Dat Chu for his feedback.
  • Improvement: The one-line ‘Other CMake Arguments’ field can get full pretty quickly, so it was changed to a multi-line text-area.

Thank’s again for the feedback, and have fun with the new version!

8 thoughts on “Improved Version of CMake Builder for Hudson”

  1. Do you support matrix builds (multi-configuration projects) or only standard builds (free-style software project) with the cmake-builder plugin?

    1. I have no experience with matrix builds, but since the axis are provided as environment variables, chances are that it will work.

  2. It looks like this plugin wipes out the installation directory before the build:

    theInstallDir = builderImpl.preparePath(workSpace, envs, this.installDir,
    CmakeBuilderImpl.PreparePathOptions.CREATE_NEW_IF_EXISTS);

    I have a multi-step build with a common install directory, and would really like the option of not recursively deleting the install directory whenever a cmake build step begins.

  3. I’m curious as to where documentation for CMakeBuilder is? I can’t seem to find any docs/info/tutorials anywhere on how to use it. I’m sure it’s a great plugin by the sound of it but I’ve no idea where to start.

  4. I’ve just found a property page for CMakeBuilder under project properties, but when I select it, I get the following error:
    “An error has occurred. See error log for more details.
    com.janua.cmakebuilder.ui.preferences.CMakePropertyPage cannot be cast to org.eclipse.ui.IWorkbenchPropertyPage”
    I’m on Eclipse 3.6, and I believe CMakeBuilder version 1.2

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.