Set Vitis workspace
Syntax
setws [OPTIONS] [path]
Set Vitis workspace to <path>,
for creating projects. If <path> does not
exist, then the directory is created. If <path> is not specified, then current directory is used.
Options
| Option | Description |
|---|---|
-switch
<path>
|
Close existing workspace and switch to new workspace. |
Returns
Nothing if the workspace is set successfully. Error string, if the path specified is a file.
Examples
setws /tmp/wrk/wksp1
Set the current workspace to /tmp/wrk/wksp1.
setws -switch /tmp/wrk/wksp2
Close the current workspace and switch to new workspace /tmp/wrk/wksp2.