Specify a text file containing command line arguments.

Syntax

--option-file=<PATH>

Arguments

<PATH> is the PATH/name of a text file containing command line arguments.

Actions

collect, report

Usage

Put commonly used options in a UTF-8 text file to shorten the command line and create a reusable invocation syntax. Enter one option on each line. No spaces are allowed in the option entry; use a new line instead.

Arguments specified in an option file are processed before any arguments specified on the command line; therefore, options specified on the command line can override options in an option file.

Example

Create a reusable option file you can use whenever you want to generate a report that specifies the project directory, directory to search for source files, and PATH/name of the output text file.

--project-dir=./advi
--search-dir 
src:=./src
--format=text
--report-output=./out/annotations.txt

Generate a Suitability report. Use an option file named my_suitability_analysis.txt.

$ advixe-cl --report=suitability --option-file=../my_suitability_analysis.txt
Para obter informações mais completas sobre otimizações do compilador, consulte nosso aviso de otimização.