qc_get_default_compiler qc_get_languages navigation bar

Table of Contents

qc_set_default_compiler

Sets the default compiler for the given target type.

Syntax

qc_set_default_compiler(target_type, compiler)  % sets compiler for specified target
qc_set_default_compiler(compiler)               % sets compiler for default target
    

Description

Sets the default compiler used with the specified QUARC target type. If no target type is provided then it uses the default target type.

Parameters

target_type

An optional string argument containing a valid QUARC target type e.g. 'linux_verdex'.

compiler

A string containing the name of the compiler to use as the default. It must be a valid compiler for the given target type. See the qc_get_compilers function for a list of valid compilers for a particular target.

Outputs

This function has no outputs.

Examples

qc_set_default_compiler('linux_verdex', 'LLVM-GCC'); % Set default compiler for linux_verdex target to LLVM-GCC
    

See Also

 

navigation bar