Changes between Version 5 and Version 6 of VincentTrial3
- Timestamp:
- May 12, 2005, 4:27:08 PM (19 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
VincentTrial3
v5 v6 103 103 build_strategy with_installarea 104 104 }}} 105 The statements "build_strategy with_installarea" tells that the executable and the shared libraries will be automatically set to a installation area (i.d. the default prefix is InstallArea). 106 107 105 The statements "build_strategy with_installarea" tells that the executable and the shared libraries will be automatically set to a installation area (i.d. the default prefix is {{{ InstallArea }}}). We can now build the all stuff. 106 The entry point is the package B this is why the cmt broadcast command should be executed from the package B: 108 107 {{{ 109 108 > cd B/v1/cmt 110 109 > cmt broadcast make 111 ... 110 ... 111 }}} 112 All librairies and executable are now built: 113 {{{ 114 > ls 115 A B cmt InstallArea 116 > ls InstallArea/ 117 Linux-i686 118 > ls InstallArea/Linux-i686/ 119 bin lib 120 > ls InstallArea/Linux-i686/bin/ 121 main.exe main.exe.cmtref 122 > ls InstallArea/Linux-i686/lib/ 123 libA.so libA.so.cmtref libB.so libB.so.cmtref 124 }}} 125 We can also setup all environnemts variables(PATH, LD_LIBRARY_PATH, ...) by running the setup script: 126 {{{ 112 127 > source setup.csh 128 }}} 129 Now directly running the application is possible since the application has been installed after being built in an automatic {{{ installation area }}}: 130 {{{ 113 131 > main.exe 114 132 A