[CMake] Using CTEST_CUSTOM_WARNING_EXCEPTION

David Cole david.cole at kitware.com
Thu Apr 3 07:05:11 EDT 2008


Uncomment this line in your script:

#CTEST_READ_CUSTOM_FILES("${CTEST_BINARY_DIRECTORY}")

That's the line that reads in the CTestCustom file for a new-style
script......

:-)


On Thu, Apr 3, 2008 at 5:59 AM, Mathieu Malaterre <
mathieu.malaterre at gmail.com> wrote:

> 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
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20080403/d80877b9/attachment.htm>


More information about the CMake mailing list