10.27 OEWriteSettings

bool OEWriteSettings(OEInterface& itf,
                     OEPlatform::oeostream& ostr = OEOUT,
                     bool include_default = true);

The function writes the current setting of itf to ostr.

If include_default is true all parameter will be listed, otherwise only parameters specified by the user will be listed.

The format of this output is such that if ostr is a file stream, the created file can be used as a parameter file (i.e., passed to a param_file parameter) in a subsequent run.

The function returns true if it succeeeds and false otherwise.