Skip to content

Command line operation

Felipe Torrezan edited this page Feb 14, 2025 · 9 revisions

EWPtool can be used directly from the command line (e.g., "Command Prompt" or "PowerShell") for operating over an existing project file (*.ewp).

Usage

The syntax for using EWPtool from the command line is:

EWPtool.exe -p <\path\to\project-dir> -n <project-name> -c <configuration-name> [OPTIONS]

The required parameters are:

Required parameters Description Required version Observation
-p Full path to the Project Directory ($PROJ_DIR$) 4.2.0+ REQUIRED
-n Project Name ($PROJ_FNAME$) 4.2.0+ REQUIRED
-c Configuration name ($CONFIG_NAME$) 4.2.0+ REQUIRED

The options and their defaults (*) are:

Options Description Accepted values Required version Observation
-f Force folder selection true/false* 4.2.0+
-i Populate the project tree with all headers files true/false* 4.2.7+ (*new)
-l Enable logging true/false* 4.2.0+

Note

When executed without the required parameters, the following Information Window will show:

image

Tip

Refer to Customizing menu entries in the IDE for changing the default options when operating from the IDE.