Changing a Project's Source Files
Related Topics:
You can change the source files for your current project.
To add a source file to your current project:
- 1. Choose Project
Edit Project from the WorkShop Main Window menu bar.
- The Edit Current Project Window opens.
- 2. Select the Enter Source Files tab.
- 3. Type in the text box the file name of the source file you want to add to your project.
- You can use the following wildcard characters to add all of the specified source files from the project working directory (or you can specify another directory as a prefix to the wildcard characters):
*.cc
| C++ source file
|
*.c
| C source file
|
*.h
| C or C++ header file
|
*.f
| Fortran 77 source file
|
*.f90
| Fortran 90/95 source file
|
*.xd
| WorkShop Visual GUI design file
|
- You can also click the browse button (...), which opens the Choose Source File Dialog Box to load source files into your project.
- 4. Click Add.
- 5. Click Apply to apply the changes to the current panel without closing the window (or click OK to apply the changes and close the window).
To add all the source files in a directory to your current project:
- 1. Choose Project
Edit Project from the WorkShop Main Window menu bar.
- The Edit Current Project Window opens.
- 2. Select the Enter Source Files tab.
- 3. Type the directory path name in the text box.
- 4. Click Add.
- 5. Click Apply to apply the changes to the current panel without closing the window (or click OK to apply the changes and close the window).
To edit a source file name:
- 1. Choose Project
Edit Project from the WorkShop Main Window menu bar.
- The Edit Current Project Window opens.
- 2. Select the Enter Source Files tab.
- 3. Select the source file you want to edit.
- 4. Make the changes in the text box.
- 5. Click Change.
- 6. Click Apply to apply the changes to the current panel without closing the window (or click OK to apply the changes and close the window).
To delete a source file from your project:
- 1. Choose Project
Edit Project from the WorkShop Main Window menu bar.
- The Edit Current Project Window opens.
- 2. Select the Enter Source Files tab.
- 3. Select the source file you want to delete.
- 4. Click Delete.
- 5. Click Apply to apply the changes to the current panel without closing the window (or click OK to apply the changes and close the window).
To delete all the source files from your project:
- 1. Choose Project
Edit Project from the WorkShop Main Window menu bar.
- The Edit Current Project Window opens.
- 2. Select the Enter Source Files tab.
- 3. Click Select All.
- 4. Click Delete.
- 5. Click Apply to apply the changes to the current panel without closing the window (or click OK to apply the changes and close the window).