Changes between Version 18 and Version 19 of VincentTrial
- Timestamp:
- May 6, 2005, 4:34:58 PM (19 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
VincentTrial
v18 v19 90 90 > cd cmt 91 91 > more requirements 92 package test 93 application test hello.cxx main.cxx 92 package test 93 author Vincent Garonne <garonne@lal.in2p3.fr> 94 application test hello.cxx main.cxx 94 95 }}} 95 96 Now we can compil and execute: 96 97 {{{ 97 98 > cmt make 99 ... 98 100 > source setup.csh 99 101 > ../Linux-i686/test.exe 100 102 Hello le world !!! 101 103 }}} 102 Well done !!!103 104 105 By default the executable has been put in the Linux-i687 directory. 104 106 107 == The library creation == 108 109 To create the hello library, it need to specify one more line in the requirements file. 110 {{{ 111 > more requirements 112 package test 113 author Vincent Garonne <garonne@lal.in2p3.fr> 114 application test hello.cxx main.cxx 115 library hello hello.cxx 116 > cmt make 117 ... 118 > ls ../Linux-i686/libhello.* 119 ../Linux-i686/libhello.a ../Linux-i686/libhello.so 120 }}} 121 122 Two libraries has been built. 123