#include <utils/CMakeProxy.hpp>
|
static bool | isAvailable () |
|
static std::string | getBuildDir (const std::string &BuildType=DefaultBuildType) |
|
static Process::Command | getConfigureCommand (const std::string &BuildDir, const std::string &SrcDir, const std::map< std::string, std::string > &Variables={}, const std::string &Generator="", const std::vector< std::string > &Options={}) |
|
static Process::Command | getBuildCommand (const std::string &BuildDir, const std::string &Target="", const unsigned int Jobs=0, const std::vector< std::string > &CMakeOptions={}, const std::vector< std::string > &OtherOptions={}) |
|
static Process::Command | getTarCompressCommand (const std::string &WorkDir, const std::string &TarFilePath, const std::vector< std::string > &RelativePathsToCompress, const std::string &Options="") |
|
static Process::Command | getTarUncompressCommand (const std::string &WorkDir, const std::string &TarFilePath, const std::string &Options="") |
|
static bool | isAvailable () |
|
static std::string | getVersion () |
|
static std::string | getExecutablePath () |
|
◆ getBuildCommand()
static Process::Command openfluid::utils::CMakeProxy::getBuildCommand |
( |
const std::string & |
BuildDir, |
|
|
const std::string & |
Target = "" , |
|
|
const unsigned int |
Jobs = 0 , |
|
|
const std::vector< std::string > & |
CMakeOptions = {} , |
|
|
const std::vector< std::string > & |
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) |
◆ getBuildDir()
static std::string openfluid::utils::CMakeProxy::getBuildDir |
( |
const std::string & |
BuildType = DefaultBuildType | ) |
|
|
static |
◆ getConfigureCommand()
static Process::Command openfluid::utils::CMakeProxy::getConfigureCommand |
( |
const std::string & |
BuildDir, |
|
|
const std::string & |
SrcDir, |
|
|
const std::map< std::string, std::string > & |
Variables = {} , |
|
|
const std::string & |
Generator = "" , |
|
|
const std::vector< std::string > & |
Options = {} |
|
) |
| |
|
static |
◆ getTarCompressCommand()
static Process::Command openfluid::utils::CMakeProxy::getTarCompressCommand |
( |
const std::string & |
WorkDir, |
|
|
const std::string & |
TarFilePath, |
|
|
const std::vector< std::string > & |
RelativePathsToCompress, |
|
|
const std::string & |
Options = "" |
|
) |
| |
|
static |
◆ getTarUncompressCommand()
static Process::Command openfluid::utils::CMakeProxy::getTarUncompressCommand |
( |
const std::string & |
WorkDir, |
|
|
const std::string & |
TarFilePath, |
|
|
const std::string & |
Options = "" |
|
) |
| |
|
static |
◆ isAvailable()
static bool openfluid::utils::CMakeProxy::isAvailable |
( |
| ) |
|
|
static |
◆ DefaultBuildType
const std::string openfluid::utils::CMakeProxy::DefaultBuildType |
|
inlinestatic |
The documentation for this class was generated from the following file: