]> Creatis software - creaWT.git/blob - wt/bbtk_wt_PKG/README.txt
2536 BBTK Feature New Normal wt-version Package
[creaWT.git] / wt / bbtk_wt_PKG / README.txt
1 # ---------------------------------------------------------------------
2 #
3 # Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image
4 #                        pour la SantÈ)
5 # Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton
6 # Previous Authors : Laurent Guigues, Jean-Pierre Roux
7 # CreaTools website : www.creatis.insa-lyon.fr/site/fr/creatools_accueil
8 #
9 #  This software is governed by the CeCILL-B license under French law and
10 #  abiding by the rules of distribution of free software. You can  use,
11 #  modify and/ or redistribute the software under the terms of the CeCILL-B
12 #  license as circulated by CEA, CNRS and INRIA at the following URL
13 #  http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
14 #  or in the file LICENSE.txt.
15 #
16 #  As a counterpart to the access to the source code and  rights to copy,
17 #  modify and redistribute granted by the license, users are provided only
18 #  with a limited warranty  and the software's author,  the holder of the
19 #  economic rights,  and the successive licensors  have only  limited
20 #  liability.
21 #
22 #  The fact that you are presently reading this means that you have had
23 #  knowledge of the CeCILL-B license and that you accept its terms.
24 # ------------------------------------------------------------------------ */
25
26 This is a void bbtk package structure.
27
28 You should have this file tree :
29
30 .
31 |-- CMakeLists.txt
32 |-- Configure.cmake
33 |-- PackageConfig.cmake.in
34 |-- README.txt
35 |-- UsePackage.cmake.in
36 |-- bbs
37 |   |-- CMakeLists.txt
38 |   |-- appli
39 |   `-- boxes
40 |-- data
41 |   `-- CMakeLists.txt
42 |-- doc
43 |   |-- CMakeLists.txt
44 |   |-- bbdoc
45 |   |   |-- CMakeLists.txt
46 |   |   `-- header.html.in
47 |   `-- doxygen
48 |       |-- CMakeLists.txt
49 |       |-- DoxyMainPage.txt.in
50 |       `-- Doxyfile.txt.in
51 `-- src
52     `-- CMakeLists.txt
53
54 To use it :
55
56 * Edit the root CMakeLists.txt file to customize your package build settings
57   (instructions inside the file)
58
59 * Put your c++/xml boxes sources in 'src' 
60   Use the convention : If the name of your package is PACK and the name of your box is BOX then name the source files bbPACKBOX.{h|cxx|xml}
61
62 * Put your script-defined boxes in 'bbs/boxes'. 
63   Use the convention : If the name of your box is 'Box' then call the file 'bbBox.bbs'
64
65 * Put your script-defined applications in 'bbs/appli'. 
66
67 * Put your data in 'data'
68
69 * You can customize the header of your package html doc by editing the file 'doc/bbdoc/header.html.in'. You must put html code in this file (or edit it with an html editor). You can include images or links to other html pages. The images and pages must be put in the folder 'doc/bbdoc' and will be properly installed. The same way, you can link to these images or pages in your boxes descriptions without giving any path. If you create subdirs for your material then you have to install the materials yourself by editing the CMakeLists.txt and links must use path with are relative to 'doc/bbdoc'.
70
71 * You can customize the main page of your doxygen doc by editing the file 'doc/doxygen/DoxyMainPage.txt.in'.
72
73 * Advanced settings : you can add custom cmake settings for your package installation process by CMakeCreateFindPackage in the files PackageConfig.cmake.in and UsePackage.cmake.in (see CMakeCreateFindPackage doc).
74
75 THAT'S ALL FOLKS !
76
77