Check out projects: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
| Line 12: | Line 12: | ||
</pre> | </pre> | ||
Please do not waste space and retain only the files you need. | 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. | ||
When you are done with your account please be sure to delete it. | |||
== Building a project == | |||
== Building a Project on Linux == | |||
Type "make all" to build a project. Continuing the wrist project example from above, you would type: | |||
<pre> | |||
> cd /map/gfx0/users/goo/project/wrist | |||
> make all | |||
</pre> | |||
== Building a Project on Linux == | |||
Type "make all" to build a project. Continuing the wrist project example from above, you would type: | Type "make all" to build a project. Continuing the wrist project example from above, you would type: | ||
<pre> | <pre> | ||
> cd | > cd/d Y:\map\gfx0\users\goo\project\wrist | ||
> make all | > make all | ||
</pre> | </pre> | ||
By convention simple projects that build a single program or library can be built just by typing "make". | By convention simple projects that build a single program or library can be built just by typing "make". | ||
Revision as of 20:39, 20 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.
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 on Linux
Type "make all" to build a project. Continuing the wrist project example from above, you would type:
> cd /map/gfx0/users/goo/project/wrist > make all
Building a Project on Linux
Type "make all" to build a project. Continuing the wrist project example from above, you would type:
> cd/d Y:\map\gfx0\users\goo\project\wrist > make all
By convention simple projects that build a single program or library can be built just by typing "make".