vtk-m/CMake
Kenneth Moreland d91f66acab Keep pyexpander generated files out of build directory
The previous behavior of the pyexpander check (in
VTKmCheckPyexpander.cmake) was to generate the file in the binary
directory and then remove it from there iff the check failed. This
caused two problems. The first is that if the check failed then the file
was deleted and there was no file to copy to the source as the
instructions suggested. The second is that if the check succeeded the
build would then use the files in the build directory rather than the
source directory, and if the programmer accidently modified the binary
files (because, for example, if a build error occured there), the
configure system would not catch that.

This change in behavior was that if the check failed, the file is
renamed to have a .save extension so that the file remains and can be
easily copied back to the source directory if that is appropriate. If
the check succeeds, the generated file is removed and a file with the
extension .check is touched. That .check file is used as a make target
to signal that the test has been performed.
2014-10-08 10:03:10 -06:00
..
CheckCXX11Features Add in the basic CMake Infrastructure required for vtkm. 2014-02-10 15:00:17 -05:00
CheckCXX11Features.cmake Add in the basic CMake Infrastructure required for vtkm. 2014-02-10 15:00:17 -05:00
FindBoostHeaders.cmake Add in the basic CMake Infrastructure required for vtkm. 2014-02-10 15:00:17 -05:00
FindPyexpander.cmake If pyexpander is available, run it and check the source file. 2014-06-26 18:26:45 -06:00
TestBuild.cxx.in Add in the basic CMake Infrastructure required for vtkm. 2014-02-10 15:00:17 -05:00
VTKmCheckCopyright.cmake Properly name the VTKm CMakeFiles. 2014-02-11 14:56:03 -05:00
VTKmCheckPyexpander.cmake Keep pyexpander generated files out of build directory 2014-10-08 10:03:10 -06:00
VTKmCompilerExtras.cmake Properly name the VTKm CMakeFiles. 2014-02-11 14:56:03 -05:00
VTKmConfig.cmake.in Properly name the VTKm CMakeFiles. 2014-02-11 14:56:03 -05:00
VTKmConfigVersion.cmake.in Properly name the VTKm CMakeFiles. 2014-02-11 14:56:03 -05:00
VTKmCopyrightStatement.txt Properly name the VTKm CMakeFiles. 2014-02-11 14:56:03 -05:00
VTKmMacros.cmake Keep pyexpander generated files out of build directory 2014-10-08 10:03:10 -06:00
VTKmSystemInformation.cmake Add SystemInformation test 2014-09-10 13:36:16 -06:00