Project

General

Profile

Wiki » History » Version 9

Lynn Garren, 08/10/2017 10:37 AM

1 1 Lynn Garren
h1. CET build tools
2 1 Lynn Garren
3 1 Lynn Garren
cetbuildtools is a flavorless product that contains various utility scripts and templates used to 
4 1 Lynn Garren
create a product according to the CET conventions.
5 1 Lynn Garren
6 8 Lynn Garren
h2. Templates
7 8 Lynn Garren
8 7 Lynn Garren
cetbuildtools/templates (source:templates)
9 7 Lynn Garren
To use the templates in this directory,  where XXX is the product name:
10 7 Lynn Garren
# cp setup_for_development.template <your-source-code>/ups/setup_for_development
11 7 Lynn Garren
# cp setup_deps.template <your-source-code>/ups/setup_deps
12 7 Lynn Garren
# cp product-config.cmake.in.template <your-source-code>/ups/product-config.cmake.in
13 7 Lynn Garren
# cp product_deps.template <your-source-code>/ups/product_deps
14 7 Lynn Garren
# Edit the list of required products and qualifiers in product_deps
15 7 Lynn Garren
# The ups convention is that product names will be all lower case.
16 1 Lynn Garren
17 9 Lynn Garren
h2. ups/product_deps
18 9 Lynn Garren
19 9 Lynn Garren
The [[product_deps description|ups/product_deps]] file is used to build the product table.  Please see the [[product_deps description|description of options]].
20 9 Lynn Garren
21 8 Lynn Garren
h2. Example
22 8 Lynn Garren
23 1 Lynn Garren
cetbuildtools/example/ToyCmake:
24 1 Lynn Garren
* This is a very simple example of how to build a product with cmake. 
25 1 Lynn Garren
* It contains source code, headers, and a test.
26 1 Lynn Garren
* An executable and library are produced.
27 1 Lynn Garren
* The "make install" step puts everything into a directory structure ready to create a relocateable ups tarball.
28 6 Ron Rechenmacher
29 8 Lynn Garren
h2. Tools
30 8 Lynn Garren
31 6 Ron Rechenmacher
tools (source:bin):
32 6 Ron Rechenmacher
* [[cetbuildtools-buildtool|buildtool]]
33 8 Lynn Garren
34 8 Lynn Garren
h2. Functionality
35 6 Ron Rechenmacher
36 6 Ron Rechenmacher
functionality list
37 6 Ron Rechenmacher
* [[cetbuildtools-buildtool#Install|product INSTALL]]
38 2 Lynn Garren
39 5 Lynn Garren
h2. [[Release_Notes]]