Check out projects: Difference between revisions
New page: == Checking out a project == $G uses CVS for source control and you can read more about it [http://www.nongnu.org/cvs/ on its official site] or [[w:Concurrent Versions System|on Wikipedia... |
No edit summary |
||
| Line 1: | Line 1: | ||
== Checking out a project == | == Checking out a project == | ||
Before checking out a project, be sure that your development environment is [[$G in practice|set up for $G]]. | |||
$G uses CVS for source control and you can read more about it [http://www.nongnu.org/cvs/ on its official site] or [[w:Concurrent Versions System|on Wikipedia]]. | $G uses CVS for source control and you can read more about it [http://www.nongnu.org/cvs/ on its official site] or [[w:Concurrent Versions System|on Wikipedia]]. | ||
Revision as of 15:43, 19 April 2010
Checking out a project
Before checking out a project, be sure that your development environment is set up for $G.
$G uses CVS for source control and you can read more about it on its official site or on Wikipedia.
You can work anywhere except under the $G directory. At Brown ample disk space has been allocated here for students:
/map/gfx0/users/$USER
So, for example, if your user id is "goo" and you wanted to check out the "wrist" project, you should type:
> mkdir /map/gfx0/users/goo > cd /map/gfx0/users/goo > cvs co project/wrist # Creates: /map/gfx0/users/goo/project/wrist/...
Please do not waste space and retain only the files you need. When you are done with your account please be sure to delete it.
Building a project
Type "make all" to build a project. Continuing the wrist project example from above, you would type:
> cd /map/gfx0/users/foo/project/wrist > make all
By convention simple projects that build a single program or library can be built just by typing "make".