summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorExpression.h
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2014-05-23 18:59:11 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2014-06-05 16:44:18 (GMT)
commita08292059eba4fdded6643b225640ebf559b2dac (patch)
tree59ca961e323ccf3256667181311b86b75c1b3968 /Source/cmGeneratorExpression.h
parentefc205695de570c740285b38fbac701f77179ecb (diff)
downloadCMake-a08292059eba4fdded6643b225640ebf559b2dac.zip
CMake-a08292059eba4fdded6643b225640ebf559b2dac.tar.gz
CMake-a08292059eba4fdded6643b225640ebf559b2dac.tar.bz2
genex: remove the need for backtraces
Rather than making dummy backtraces and passing them around, just make backtraces optional.
Diffstat (limited to 'Source/cmGeneratorExpression.h')
-rw-r--r--Source/cmGeneratorExpression.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmGeneratorExpression.h b/Source/cmGeneratorExpression.h
index ef5360e..324d23c 100644
--- a/Source/cmGeneratorExpression.h
+++ b/Source/cmGeneratorExpression.h
@@ -41,7 +41,7 @@ class cmGeneratorExpression
{
public:
/** Construct. */
- cmGeneratorExpression(cmListFileBacktrace const& backtrace);
+ cmGeneratorExpression(cmListFileBacktrace const* backtrace = NULL);
~cmGeneratorExpression();
cmsys::auto_ptr<cmCompiledGeneratorExpression> Parse(
@@ -70,7 +70,7 @@ private:
cmGeneratorExpression(const cmGeneratorExpression &);
void operator=(const cmGeneratorExpression &);
- cmListFileBacktrace const& Backtrace;
+ cmListFileBacktrace const* Backtrace;
};
class cmCompiledGeneratorExpression