Hi,
Ok I must be doing something wrong: I cannot get CTEST_CUSTOM_WARNING_EXCEPTION to work. Here is the ctest script: http://gdcm.svn.sourceforge.net/viewvc/gdcm/trunk/CMake/CTestCustom.ctest.in?view=markup ... SET(CTEST_CUSTOM_WARNING_EXCEPTION ${CTEST_CUSTOM_WARNING_EXCEPTION} "Utilities" "Utilities/expat" "expat" ) ... I configured it this way: IF(BUILD_TESTING) CONFIGURE_FILE(${GDCM_SOURCE_DIR}/CMake/CTestCustom.ctest.in ${GDCM_BINARY_DIR}/CMake/CTestCustom.ctest @ONLY) FILE(WRITE ${GDCM_BINARY_DIR}/CTestCustom.cmake "INCLUDE(\"${GDCM_BINARY_DIR}/CMake/CTestCustom.ctest\")\n") ENABLE_TESTING() INCLUDE(CTest) SUBDIRS(Testing) ENDIF(BUILD_TESTING) But still I am getting warnings related to building expat: http://public.kitware.com/GDCM/Testing/Sites/zorglub/GDCM2-trunk-Linux-gcc42-SVN/20080403-0100-Nightly/BuildWarning.html and nightly ctest script is: http://public.kitware.com/GDCM/Testing/Sites/zorglub/GDCM2-trunk-Linux-gcc42-SVN/20080403-0100-Nightly/Notes.html Thanks -- Mathieu _______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
