[CMake] BUILD_TESTING=OFF breaks CVS CMake build
Andy Cedilnik
andy.cedilnik at kitware.com
Wed Jan 4 09:12:28 EST 2006
Hi Zach,
I fixed it. Please try now.
Andy
Zachary Pincus wrote:
> Hello,
>
> I just attempted to build a recent (e.g. now) CVS checkout of CMake
> with the BUILD_TESTING option off.
>
> The build breaks trying to compile CMake/Source/kwsys/
> testSystemTools.cxx because CMake/Source/kwsys/testSystemTools.h.in
> never gets configured to create a valid testSystemTools.h without the
> BUILD_TESTING option. (See CMake/Source/kwsys/CMakeLists.txt lines
> 627-637.)
>
> The bigger problem may (or may not) be why testSystemTools.cxx is
> being compiled at all when BUILD_TESTING is off.
>
> As a workaround (and probably the right thing to do anyway), turning
> BUILD_TESTING back on fixes things.
>
> Zach Pincus
>
> Program in Biomedical Informatics and Department of Biochemistry
> Stanford University School of Medicine
>
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
--
Andy Cedilnik
Kitware Inc.
More information about the CMake
mailing list