[CMake] BUILD_TESTING=OFF breaks CVS CMake build
Zachary Pincus
zpincus at stanford.edu
Tue Jan 3 21:15:02 EST 2006
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
More information about the CMake
mailing list