mirror of
https://github.com/reactos/CMake.git
synced 2024-11-28 14:01:21 +00:00
cmCustomCommand: Re-arrange data layout.
Size goes from 240 to 224 bytes.
This commit is contained in:
parent
54cb76f299
commit
34e1d6db72
@ -31,12 +31,12 @@ cmCustomCommand::cmCustomCommand(const cmCustomCommand& r):
|
||||
Byproducts(r.Byproducts),
|
||||
Depends(r.Depends),
|
||||
CommandLines(r.CommandLines),
|
||||
HaveComment(r.HaveComment),
|
||||
Backtrace(r.Backtrace),
|
||||
Comment(r.Comment),
|
||||
WorkingDirectory(r.WorkingDirectory),
|
||||
HaveComment(r.HaveComment),
|
||||
EscapeAllowMakeVars(r.EscapeAllowMakeVars),
|
||||
EscapeOldStyle(r.EscapeOldStyle),
|
||||
Backtrace(r.Backtrace),
|
||||
UsesTerminal(r.UsesTerminal)
|
||||
{
|
||||
}
|
||||
@ -77,15 +77,13 @@ cmCustomCommand::cmCustomCommand(cmMakefile const* mf,
|
||||
Byproducts(byproducts),
|
||||
Depends(depends),
|
||||
CommandLines(commandLines),
|
||||
HaveComment(comment?true:false),
|
||||
Backtrace(),
|
||||
Comment(comment?comment:""),
|
||||
WorkingDirectory(workingDirectory?workingDirectory:""),
|
||||
HaveComment(comment?true:false),
|
||||
EscapeAllowMakeVars(false),
|
||||
EscapeOldStyle(true),
|
||||
Backtrace()
|
||||
EscapeOldStyle(true)
|
||||
{
|
||||
this->EscapeOldStyle = true;
|
||||
this->EscapeAllowMakeVars = false;
|
||||
if(mf)
|
||||
{
|
||||
this->Backtrace = mf->GetBacktrace();
|
||||
|
@ -93,13 +93,13 @@ private:
|
||||
std::vector<std::string> Byproducts;
|
||||
std::vector<std::string> Depends;
|
||||
cmCustomCommandLines CommandLines;
|
||||
bool HaveComment;
|
||||
std::string Comment;
|
||||
std::string WorkingDirectory;
|
||||
bool EscapeAllowMakeVars;
|
||||
bool EscapeOldStyle;
|
||||
cmListFileBacktrace Backtrace;
|
||||
ImplicitDependsList ImplicitDepends;
|
||||
std::string Comment;
|
||||
std::string WorkingDirectory;
|
||||
bool HaveComment;
|
||||
bool EscapeAllowMakeVars;
|
||||
bool EscapeOldStyle;
|
||||
bool UsesTerminal;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user