blob: e8745c5c6c4226f2e6f6cb5107caf1fd686f9130 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
#include "cmPCBuilder.h"
#include "cmMakefile.h"
cmPCBuilder::cmPCBuilder()
{
}
// Delete the m_Makefile
cmPCBuilder::~cmPCBuilder()
{
}
// Read in the given makefile
void cmPCBuilder::SetInputMakefilePath(const char* mfile)
{
if(!GetMakefile()->ReadMakefile(mfile))
{
std::cerr << "Error can not open " << mfile << " for input " << std::endl;
abort();
}
}
void cmPCBuilder::SetHomeDirectory(const char* dir)
{
GetMakefile()->SetHomeDirectory(dir);
}
void cmPCBuilder::SetMakefileDirectory(const char* dir)
{
GetMakefile()->SetCurrentDirectory(dir);
}
void cmPCBuilder::SetOutputDirectory(const char* dir)
{
GetMakefile()->SetOutputDirectory(dir);
}
void cmPCBuilder::SetOutputHomeDirectory(const char* dir)
{
GetMakefile()->SetOutputHomeDirectory(dir);
}
|