1 This is a void bbtk package structure.
3 You should have this file tree :
8 |-- PackageConfig.cmake.in
10 |-- UsePackage.cmake.in
18 | | |-- CMakeLists.txt
19 | | `-- header.html.in
22 | |-- DoxyMainPage.txt.in
29 * Rename the 'void' folder (where this file is) at your convenience
31 * Edit the root CMakeLists.txt file and fill in the package informations following the instructions inside the file
33 * Put your c++/xml boxes sources in 'src'
35 * Put your script-defined boxes in 'bbs/boxes'.
36 Use the convention : If the name of the defined box is 'Box' then call the file 'bbBox.bbs'
38 * Put your script-defined applications in 'bbs/appli'.
40 * 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'.
42 * You can customize the main page of your doxygen doc by editing the file 'doc/doxygen/DoxyMainPage.txt.in'.
44 * 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).