Manual for OpenFLUID 2.1.11

Public Member Functions | Static Public Member Functions | List of all members
openfluid::utils::CMakeProxy Class Reference

#include <utils/CMakeProxy.hpp>

Public Member Functions

 CMakeProxy ()
 
virtual ~CMakeProxy ()
 

Static Public Member Functions

static bool isAvailable ()
 
static CommandInfos getConfigureCommand (const QString &BuildDir, const QString &SrcDir, const std::map< QString, QString > &Variables={}, const QString &Generator="", const QStringList &Options={})
 
static CommandInfos getBuildCommand (const QString &BuildDir, const QString &Target="", const unsigned int Jobs=0, const QStringList &CMakeOptions={}, const QStringList &OtherOptions={})
 
static CommandInfos getTarCompressCommand (const QString &WorkDir, const QString &TarFilePath, const QStringList &RelativePathsToCompress, const QString &Options="")
 
static CommandInfos getTarUncompressCommand (const QString &WorkDir, const QString &TarFilePath, const QString &Options="")
 
- Static Public Member Functions inherited from openfluid::utils::ProgramProxy< CMakeProxy >
static bool isAvailable ()
 
static QString getVersion ()
 
static QString getExecutablePath ()
 

Additional Inherited Members

- Static Protected Attributes inherited from openfluid::utils::ProgramProxy< CMakeProxy >
static QString m_ExecutablePath
 
static QString m_Version
 
Inheritance diagram for openfluid::utils::CMakeProxy:
Inheritance graph
[legend]
Collaboration diagram for openfluid::utils::CMakeProxy:
Collaboration graph
[legend]

Constructor & Destructor Documentation

◆ CMakeProxy()

openfluid::utils::CMakeProxy::CMakeProxy ( )

◆ ~CMakeProxy()

virtual openfluid::utils::CMakeProxy::~CMakeProxy ( )
virtual

Member Function Documentation

◆ getBuildCommand()

static CommandInfos openfluid::utils::CMakeProxy::getBuildCommand ( const QString &  BuildDir,
const QString &  Target = "",
const unsigned int  Jobs = 0,
const QStringList &  CMakeOptions = {},
const QStringList &  OtherOptions = {} 
)
static

Returns a build command prepared using the given arguments

Parameters
[in]BuildDirthe directory where the build will be performed
[in]Targetthe target to build (empty by default)
[in]Jobsthe number of parallel jobs to use, 0 means that parallel build is not active (0 by default)
[in]CMakeOptionsa string of options passed to CMake (empty by default)
[in]OtherOptionsa string of options passed to the build tool (empty by default)

◆ getConfigureCommand()

static CommandInfos openfluid::utils::CMakeProxy::getConfigureCommand ( const QString &  BuildDir,
const QString &  SrcDir,
const std::map< QString, QString > &  Variables = {},
const QString &  Generator = "",
const QStringList &  Options = {} 
)
static

◆ getTarCompressCommand()

static CommandInfos openfluid::utils::CMakeProxy::getTarCompressCommand ( const QString &  WorkDir,
const QString &  TarFilePath,
const QStringList &  RelativePathsToCompress,
const QString &  Options = "" 
)
static

◆ getTarUncompressCommand()

static CommandInfos openfluid::utils::CMakeProxy::getTarUncompressCommand ( const QString &  WorkDir,
const QString &  TarFilePath,
const QString &  Options = "" 
)
static

◆ isAvailable()

static bool openfluid::utils::CMakeProxy::isAvailable ( )
static

The documentation for this class was generated from the following file: