Changes between Version 2 and Version 3 of VincentTrial2
- Timestamp:
- May 11, 2005, 3:57:51 PM (19 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
VincentTrial2
v2 v3 3 3 4 4 We illustrate here a simple example of package dependency. 5 We show how CMT deals with a package dependency between 6 the package A and B. 5 We show how CMT deals with a package dependency between package A and B. 7 6 8 7 First we create a directory: … … 115 114 application main main.cxx B.cxx 116 115 }}} 117 The line "use A v1" says explicitely that package B need pacckage A version 1.116 The line "use A v1" says explicitely that package B needs package A version 1. 118 117 The line "application main main.cxx B.cxx" annouces to CMT that a program must be created and for this creation, 119 we need the file main.cxx and B.cxx.118 we need the files main.cxx and B.cxx. 120 119 121 120 Then to construct the main program with CMT, we first need to give a way to localize the package A. … … 127 126 > echo $CMTPATH ~garonne/tmp 128 127 }}} 129 We can see also all the package depen cies by the command:128 We can see also all the package dependencies by the command: 130 129 {{{ 131 130 > cd B/v1/cmt … … 195 194 }}} 196 195 The B library should be also create. 197 198 199 200 201 }}}202 203