diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2004-01-27 22:12:41 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2004-01-27 22:12:41 (GMT) |
commit | 9be1b582eee9c8cac70acbf3836dc51b8d5ea2da (patch) | |
tree | 101be2da7f50849cb20427a7d2971cdd134c2ffb | |
parent | 35403245985070f3cfdc5a0cf1381a655e38a41e (diff) | |
download | CMake-9be1b582eee9c8cac70acbf3836dc51b8d5ea2da.zip CMake-9be1b582eee9c8cac70acbf3836dc51b8d5ea2da.tar.gz CMake-9be1b582eee9c8cac70acbf3836dc51b8d5ea2da.tar.bz2 |
ENH: add a dynamic loader flush cache
-rw-r--r-- | Source/cmCTest.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx index efe4806..d5ffef9 100644 --- a/Source/cmCTest.cxx +++ b/Source/cmCTest.cxx @@ -34,6 +34,7 @@ #include <time.h> #include <math.h> #include <float.h> +#include "cmDynamicLoader.h" #define SAFEDIV(x,y) (((y)!=0)?((x)/(y)):(0)) @@ -3932,6 +3933,9 @@ int cmCTest::Run(std::vector<std::string>const& args, std::string* output) int retv = this->RunCMakeAndTest(output); cmSystemTools::ResetErrorOccuredFlag(); cmListFileCache::GetInstance()->ClearCache(); +#ifdef CMAKE_BUILD_WITH_CMAKE + cmDynamicLoader::FlushCache(); +#endif return retv; } |