beautypg.com

New project, Open project, New project open project – Zilog Z8F0130 User Manual

Page 530

background image

Appendix D. Using the Command Processor

UM013037-1212

506

Zilog Developer Studio II – Z8 Encore!
User Manual

new project

The

new project

command creates a new project designated by project_name, target,

and the type supplied. If the full path is not supplied, the current working directory is used.
By default, existing projects with the same name are replaced. Use

NOREPLACE

to prevent

the overwriting of existing projects. The syntax can take one of the following forms:

new project "<[path\]name>" "" "" [""]

[NOREPLACE]

new project "<[path\]name>" "" ""

"" "" [NOREPLACE]

In the above syntax example:

<

name

> is the path and name of the new project. If the path is not provided, the cur-

rent working directory is assumed. Any file extension can be used, but none is
required. If not provided, the default extension of

.zdsproj

is used.

<

target

> must match that of the IDE (that is, the Z8 Encore! IDE can only create Z8

Encore! based projects).

<

exe

|

lib

> The type parameter must be either

exe

(Executable) or

lib

(Static

Library).

["<

cpu

>"] is the name of the CPU to configure for the new project.

"<

project type

>" can be

"Standard"

or

"Assembly Only

".

Standard

is the

default.

NOREPLACE

Optional parameter to use to prevent the overwriting of existing projects

For example:

new project "test1.zdsproj" "Z8Encore" "exe"

new project "test1.zdsproj" "Z8Encore" "exe" NOREPLACE

open project

The

open project

command opens the project designated by project_name. If the full

path is not supplied, the current working directory is used. The command fails if the spec-
ified project does not exist. The syntax of the

open project

command is:

open project

"<project_name>"

For example:

open project "test1.zdsproj"

open project "c:\projects\test1.zdsproj"