Visible to Intel only — GUID: GUID-0D838812-B329-4297-AAB7-2CDB3AA1D6A5
Visible to Intel only — GUID: GUID-0D838812-B329-4297-AAB7-2CDB3AA1D6A5
search-dir
Specify the location(s) for finding target support files.
GUI Equivalent
Project Properties > Binary/Symbol Search
Project Properties > Source Search
Syntax
--search-dir <keyword>=<PATH> |
Arguments
Combine keywords with arguments in the following syntax: <all | bin | src | sym[:<p | r>]>=<PATH>
<PATH> is the PATH/name of the search directory, and can include environment paths and absolute paths.
Keyword | Description |
---|---|
all | Search all types of directories. |
bin | Search binary directories. |
src | Search source directories. This is used for most collect actions. |
sym | Search symbol directories. |
:r | Perform a recursive search of all subdirectories. |
:p | Specify the highest priority search (directories to search prior to others, including environment paths and absolute paths). |
:rp | Combine :r and :p. |
Actions Modified
Usage
Use -search-dir src:=<PATH> when performing collect actions.
To exclude files from analysis, use the exclude-files option.
Example
Run a Suitability analysis on myApplication. Search for source files in the specified search directory. Write the result to the specified project directory.
advisor --collect=suitability --search-dir src:=./src1 --project-dir=./advi_results -- ./myApplication
The following two commands are equivalent. Each runs a Suitability analysis on myApplication and searches for source files in the two specified search directories.
advisor --collect=suitability --search-dir src:=./src1 --search-dir src:=./src2 --project-dir=./advi_results -- ./myApplication
advisor --collect=suitability --search-dir src:=./src1,./src2 --project-dir=./advi_results -- ./myApplication