diff options
author | Brad King <brad.king@kitware.com> | 2002-12-12 16:36:28 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2002-12-12 16:36:28 (GMT) |
commit | 54541bd40a6083b3969c2e2dc53292d1a67b69c2 (patch) | |
tree | af5a806a88d11cc4cf8e6779d0ad7a8610d442e8 /Source/cmMakefile.h | |
parent | fe26cf51f575b30299f1ecfff112cf095a5c6f48 (diff) | |
download | CMake-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.h | 5 |
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; |