Skip to content

roseInstallPrefix

Find the path of the ROSE install prefix.

Synopsis

Declared in <commandlineProcessing/commandline_processing.h>

[[visibility]]
bool
roseInstallPrefix(std::string& result);

Description

There is an assumption that <directory containing librose>/.. is the prefix, and that other things can be found from that. This may not be true if the various install directories are set by hand (rather than from $prefix). This function either puts the prefix into RESULT and returns true (for an installed copy of ROSE), or returns false (for a build tree).

Return Value

True for installed ROSE, false for a build tree.

Parameters

Name

Description

result

Receives the install prefix.

Created with MrDocs