summaryrefslogtreecommitdiffstats
path: root/Source/cmCustomCommand.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-06-07 08:44:59 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-06-07 08:48:15 (GMT)
commit34e1d6db722b34bb6b4f7b8a7ea53a0bb61c5f58 (patch)
tree9a7a6ffa982db48eff914bf26cefabd1b19c5f1a /Source/cmCustomCommand.cxx
parent54cb76f299ebcdd07e59d3d0c61f1aa0ffe03a33 (diff)
downloadCMake-34e1d6db722b34bb6b4f7b8a7ea53a0bb61c5f58.zip
CMake-34e1d6db722b34bb6b4f7b8a7ea53a0bb61c5f58.tar.gz
CMake-34e1d6db722b34bb6b4f7b8a7ea53a0bb61c5f58.tar.bz2
cmCustomCommand: Re-arrange data layout.
Size goes from 240 to 224 bytes.
Diffstat (limited to 'Source/cmCustomCommand.cxx')
-rw-r--r--Source/cmCustomCommand.cxx12
1 files changed, 5 insertions, 7 deletions
diff --git a/Source/cmCustomCommand.cxx b/Source/cmCustomCommand.cxx
index 4032b08..7418413 100644
--- a/Source/cmCustomCommand.cxx
+++ b/Source/cmCustomCommand.cxx
@@ -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();