close
Warning:
Can't synchronize with repository "(default)" (/var/svn/tolp does not appear to be a Subversion repository.). Look in the Trac log for more information.
- Timestamp:
-
Feb 5, 2016, 9:16:18 AM (10 years ago)
- Author:
-
Pedro Gea
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
|
v2
|
v3
|
|
| 23 | 23 | To do. See [wiki:TolPackageRulesAndComments]. |
| 24 | 24 | }}} |
| | 25 | |
| | 26 | == Introduction == |
| | 27 | |
| | 28 | Bla bla bla ... |
| | 29 | |
| | 30 | == TolPackage == |
| | 31 | |
| | 32 | The TOL kernel provides a module to manage packages: TolPackage. |
| | 33 | |
| | 34 | This module allow TOL users to download, update or upgrade packages. It provides also utilities for creating and uploading packages. For more details, see [wiki:TolPackage]. |
| | 35 | |
| | 36 | == Requiring a package == |
| | 37 | |
| | 38 | TOL provides a preevaluation directive: {{{#Require}}} to indicate the package requeriments. |
| | 39 | |
| | 40 | {{{ |
| | 41 | #!cpp |
| | 42 | #Require <PackageName>; |
| | 43 | }}} |
| | 44 | |
| | 45 | When you ''compile'' a package requirement, TolPackage try to load the package, searching into the repositories, downloading it and intalling it if necessary. |
| | 46 | |
| | 47 | |