summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2002-12-12 16:36:28 (GMT)
committerBrad King <brad.king@kitware.com>2002-12-12 16:36:28 (GMT)
commit54541bd40a6083b3969c2e2dc53292d1a67b69c2 (patch)
treeaf5a806a88d11cc4cf8e6779d0ad7a8610d442e8 /Source/cmMakefile.h
parentfe26cf51f575b30299f1ecfff112cf095a5c6f48 (diff)
downloadCMake-54541bd40a6083b3969c2e2dc53292d1a67b69c2.zip
CMake-54541bd40a6083b3969c2e2dc53292d1a67b69c2.tar.gz
CMake-54541bd40a6083b3969c2e2dc53292d1a67b69c2.tar.bz2
ENH: Improved filename/line number reporting in error message. Macro invocations now chain up the error message.
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r--Source/cmMakefile.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h
index de8e3eb..0fc79e6 100644
--- a/Source/cmMakefile.h
+++ b/Source/cmMakefile.h
@@ -510,9 +510,10 @@ public:
cmData* LookupData(const char*) const;
/**
- * execute a single CMake command
+ * Execute a single CMake command. Returns true if the command
+ * succeeded or false if it failed.
*/
- void ExecuteCommand(const cmListFileFunction& lff);
+ bool ExecuteCommand(const cmListFileFunction& lff);
/** Check if a command exists. */
bool CommandExists(const char* name) const;