Wiki » History » Version 8
Lynn Garren, 03/26/2015 02:34 PM
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 | 8 | Lynn Garren | h2. Example |
18 | 8 | Lynn Garren | |
19 | 1 | Lynn Garren | cetbuildtools/example/ToyCmake: |
20 | 1 | Lynn Garren | * This is a very simple example of how to build a product with cmake. |
21 | 1 | Lynn Garren | * It contains source code, headers, and a test. |
22 | 1 | Lynn Garren | * An executable and library are produced. |
23 | 1 | Lynn Garren | * The "make install" step puts everything into a directory structure ready to create a relocateable ups tarball. |
24 | 6 | Ron Rechenmacher | |
25 | 8 | Lynn Garren | h2. Tools |
26 | 8 | Lynn Garren | |
27 | 6 | Ron Rechenmacher | tools (source:bin): |
28 | 6 | Ron Rechenmacher | * [[cetbuildtools-buildtool|buildtool]] |
29 | 8 | Lynn Garren | |
30 | 8 | Lynn Garren | h2. Functionality |
31 | 6 | Ron Rechenmacher | |
32 | 6 | Ron Rechenmacher | functionality list |
33 | 6 | Ron Rechenmacher | * [[cetbuildtools-buildtool#Install|product INSTALL]] |
34 | 2 | Lynn Garren | |
35 | 5 | Lynn Garren | h2. [[Release_Notes]] |