47 #ifndef __OPENFLUID_UTILS_CMAKEPROXY_HPP__
48 #define __OPENFLUID_UTILS_CMAKEPROXY_HPP__
58 static void findCMakeProgram();
65 inline static const std::
string DefaultBuildType = "Release";
67 static
bool isAvailable();
69 static std::
string getBuildDir(const std::
string& BuildType = DefaultBuildType);
71 static
Process::Command getConfigureCommand(const std::
string& BuildDir, const std::
string& SrcDir,
72 const std::map<std::
string,std::
string>& Variables = {},
73 const std::string& Generator =
"",
74 const std::vector<std::string>& Options = {});
85 const std::string& Target =
"",
86 const unsigned int Jobs = 0,
87 const std::vector<std::string>& CMakeOptions = {},
88 const std::vector<std::string>& OtherOptions = {});
91 const std::string& TarFilePath,
92 const std::vector<std::string>& RelativePathsToCompress,
93 const std::string& Options =
"");
96 const std::string& Options =
"");
#define CPPCLASS_DELETE_FIVE(classname)
Definition: CppLangHelpers.hpp:46
Definition: CMakeProxy.hpp:55
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 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 getTarUncompressCommand(const std::string &WorkDir, const std::string &TarFilePath, const std::string &Options="")
Definition: Process.hpp:66
Definition: ProgramProxy.hpp:54
#define OPENFLUID_API
Definition: dllexport.hpp:86
Definition: ApplicationException.hpp:47
Definition: Process.hpp:93