Page History

Turn Off History

Introduction

This wiki page contains information regarding build modernization and consolidation. For details on progress see Ticket #779

Goals and Objectives

The goal of updating the condor build mechanism is far more reaching then using the latest wiz-bang tool to build code, and is meant to address the following issues:

Possible Options

If we use the afore mentioned goals as hard requirements, then it eliminates a lot of possible choices, and only a couple remain:

Getting Started

1.) You will need to obtain CMake 2.8 or > for the target platform you are working on.

2.) Checkout origin/V7_5-cmake-branch, for windows you will need git 1.6.4 or greater.

3.) cmake ./CMakeLists.txt or run cmake-gui

4.) Now you can run make or open the visual studio solution file.

Windows Only:

Prior to building for the 1st time there are some prerequisites that you will need to perform

5.) Install the lastest platform SDK and reopen the solution

6.) Have a recent version of cygwin installed

6.) Open Tools->Options under "Projects and Solutions" click on VC++ Directories and add the following to the Executable directories

7.) Open and build.

Contributing

All of the updated cmake files exist under src directories and are open to contribution. The current branch tracks against master(7.5 series).

Conventions

Packaging

CMake's compliment, CPack, supports a large number of packaging types which can be found here, and it is currently in its infancy in the code base. There are two targets which are created when you include(CPack):

make package
make package_source

The road ahead is to create a stub'd out CPackOption.cmake.in file and use cmakes configure options to fill in the gaps based on the target platform and environment, thereby reducing the cruft in the master CMakeLists.txt and providing the wiz-bang feature of platform specific package generation.

TODO

see Ticket #779

Links

CMake Official Documentation

Google Code Search for open source examples