summaryrefslogtreecommitdiffstats
path: root/Source/cmTryRunCommand.h
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2007-05-24 15:27:51 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2007-05-24 15:27:51 (GMT)
commit7d7aba292c09170fc9f145d68644e1ff6d158eec (patch)
tree6b50a27fb13d788c4b977ea199c6311ceea04854 /Source/cmTryRunCommand.h
parent8fb8a44f5f1de4c659cc4b4cfe060e91b1e48b9c (diff)
downloadCMake-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.h6
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);
};