Project

General

Profile

Wiki » History » Version 8

« Previous - Version 8/9 (diff) - Next » - Current version
Lynn Garren, 03/26/2015 02:34 PM


CET build tools

cetbuildtools is a flavorless product that contains various utility scripts and templates used to
create a product according to the CET conventions.

Templates

cetbuildtools/templates (source:templates)
To use the templates in this directory, where XXX is the product name:
  1. cp setup_for_development.template <your-source-code>/ups/setup_for_development
  2. cp setup_deps.template <your-source-code>/ups/setup_deps
  3. cp product-config.cmake.in.template <your-source-code>/ups/product-config.cmake.in
  4. cp product_deps.template <your-source-code>/ups/product_deps
  5. Edit the list of required products and qualifiers in product_deps
  6. The ups convention is that product names will be all lower case.

Example

cetbuildtools/example/ToyCmake:
  • This is a very simple example of how to build a product with cmake.
  • It contains source code, headers, and a test.
  • An executable and library are produced.
  • The "make install" step puts everything into a directory structure ready to create a relocateable ups tarball.

Tools

tools (source:bin):

Functionality

functionality list

Release_Notes