#include <utils/CMakeProxy.hpp>
|
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 bool | isAvailable () |
|
static QString | getVersion () |
|
static QString | getExecutablePath () |
|
◆ CMakeProxy()
openfluid::utils::CMakeProxy::CMakeProxy |
( |
| ) |
|
◆ ~CMakeProxy()
virtual openfluid::utils::CMakeProxy::~CMakeProxy |
( |
| ) |
|
|
virtual |
◆ 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] | BuildDir | the directory where the build will be performed |
[in] | Target | the target to build (empty by default) |
[in] | Jobs | the number of parallel jobs to use, 0 means that parallel build is not active (0 by default) |
[in] | CMakeOptions | a string of options passed to CMake (empty by default) |
[in] | OtherOptions | a 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: