diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2002-09-23 15:06:01 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2002-09-23 15:06:01 (GMT) |
commit | e6406f681de91c0a39478a6e42fb43787bea077b (patch) | |
tree | 71018cbe94ff6073a4bac3cfb75d529264fc2a7b /Source/cmTryCompileCommand.h | |
parent | 9cf39703dca89a2d9c21c62df9513233aaf41573 (diff) | |
download | CMake-e6406f681de91c0a39478a6e42fb43787bea077b.zip CMake-e6406f681de91c0a39478a6e42fb43787bea077b.tar.gz CMake-e6406f681de91c0a39478a6e42fb43787bea077b.tar.bz2 |
Abstract cleaning of files and add code that deletes files from Debug subdirectory
Diffstat (limited to 'Source/cmTryCompileCommand.h')
-rw-r--r-- | Source/cmTryCompileCommand.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/Source/cmTryCompileCommand.h b/Source/cmTryCompileCommand.h index ee5614b..fbb57fc 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 |