[Insight-developers] New test driver problem when building Testing vs Installed

Luis Ibanez luis.ibanez at kitware.com
Thu Feb 17 16:38:47 EST 2011


Hi Bill,

When building the Testing subdirectory, versus an installed ITK,
the code for the new test driver still need some adjusting:

I'm applying this patch to fix it:

http://review.source.kitware.com/#change,983



diff --git a/Testing/CMakeLists.txt b/Testing/CMakeLists.txt
index 2ce303d..68f2487 100644
--- a/Testing/CMakeLists.txt
+++ b/Testing/CMakeLists.txt
@@ -8,7 +8,7 @@ if(ITK_CSWIG_JAVA)
   find_package(Java)
 endif(ITK_CSWIG_JAVA)

-include(${ITK_SOURCE_DIR}/Testing/Utilities/CreateTestDriver.cmake)
+include(${ITKTesting_SOURCE_DIR}/Utilities/CreateTestDriver.cmake)



In short:
The Testing tree should be able to build without knowing
where the ITK source tree is. In other words, it should be
akin to an ITK application that is building against ITK.

BTW: This should also shed some light on the
GDCM library installation problem...


      Luis


More information about the Insight-developers mailing list