I've done it on SVN with just .h and .cpp files. Here is a procedure I wrote a couple of years ago for the guys on my team (I updated it a bit, but there may be mistakes).
We use TortoiseSVN, hence the Windows Explorer right-click-menu bit.
Quote:
- Run Wind River Workbench 3.0.
- Go to File->New->Example...
- Select VxWorks Downloadable Kernel Module Sample Project and click Next
- Select FRC Default Program and click Finish
- Right-click on BuiltinDefaultCode in the Project Explorer and select Rename.
- Enter the desired project name.
- In the [project name] project in the Project Explorer, delete BuildinDefaultCode.cpp and sample.txt.
- In Windows Explorer, navigate to C:\WindRiver\workspace\.
- Right-click on the [project name] folder and select SVN Checkout...
- Enter [svn path] as the repository URL.
- Enter 'C:\WindRiver\workspace\[project name]' as the checkout directory.
- Click OK; when the 'folder not empty' warning pops up, click Yes.
- Right-click in the Project Explorer and select Refresh.
- Right-click the [project name] project, and go to Build Options->Clean Project. The project should now be set up.
|