summaryrefslogtreecommitdiff
path: root/Source/cmTryCompileCommand.h
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2002-09-23 11:06:01 -0400
committerAndy Cedilnik <andy.cedilnik@kitware.com>2002-09-23 11:06:01 -0400
commite6406f681de91c0a39478a6e42fb43787bea077b (patch)
tree71018cbe94ff6073a4bac3cfb75d529264fc2a7b /Source/cmTryCompileCommand.h
parent9cf39703dca89a2d9c21c62df9513233aaf41573 (diff)
downloadcmake-e6406f681de91c0a39478a6e42fb43787bea077b.tar.gz
Abstract cleaning of files and add code that deletes files from Debug subdirectory
Diffstat (limited to 'Source/cmTryCompileCommand.h')
-rw-r--r--Source/cmTryCompileCommand.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/Source/cmTryCompileCommand.h b/Source/cmTryCompileCommand.h
index ee5614b016..fbb57fca3e 100644
--- a/Source/cmTryCompileCommand.h
+++ b/Source/cmTryCompileCommand.h
@@ -62,10 +62,16 @@ public:
*/
static int CoreTryCompileCode(
cmMakefile *mf, std::vector<std::string> const& argv, bool clean);
+
+ /**
+ * This deletes all the files created by TRY_COMPILE or TRY_RUN
+ * code. This way we do not have to rely on the timing and
+ * dependencies of makefiles.
+ */
+ static void CleanupFiles(const char* binDir, bool recursive=true);
/**
- * More documentation.
- */
+ * More documentation. */
virtual const char* GetFullDocumentation()
{
return