diff options
author | Alexander Neundorf <neundorf@kde.org> | 2007-05-24 15:27:51 (GMT) |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2007-05-24 15:27:51 (GMT) |
commit | 7d7aba292c09170fc9f145d68644e1ff6d158eec (patch) | |
tree | 6b50a27fb13d788c4b977ea199c6311ceea04854 /Source/cmTryRunCommand.h | |
parent | 8fb8a44f5f1de4c659cc4b4cfe060e91b1e48b9c (diff) | |
download | CMake-7d7aba292c09170fc9f145d68644e1ff6d158eec.zip CMake-7d7aba292c09170fc9f145d68644e1ff6d158eec.tar.gz CMake-7d7aba292c09170fc9f145d68644e1ff6d158eec.tar.bz2 |
ENH: add two simple tests for TRY_RUN()
STYLE: create a new base class cmCoreTryCompile, from which
cmTryCompileCommand and cmTryRunCommand are derived, so there are no public
static functions with lots of arguments anymore
Alex
Diffstat (limited to 'Source/cmTryRunCommand.h')
-rw-r--r-- | Source/cmTryRunCommand.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmTryRunCommand.h b/Source/cmTryRunCommand.h index 40c3de5..b11a7c4 100644 --- a/Source/cmTryRunCommand.h +++ b/Source/cmTryRunCommand.h @@ -17,14 +17,14 @@ #ifndef cmTryRunCommand_h #define cmTryRunCommand_h -#include "cmCommand.h" +#include "cmCoreTryCompile.h" /** \class cmTryRunCommand * \brief Specifies where to install some files * * cmTryRunCommand is used to test if soucre code can be compiled */ -class cmTryRunCommand : public cmCommand +class cmTryRunCommand : public cmCoreTryCompile { public: /** @@ -75,7 +75,7 @@ public: "output and standard error into."; } - cmTypeMacro(cmTryRunCommand, cmCommand); + cmTypeMacro(cmTryRunCommand, cmCoreTryCompile); }; |