]> granicus.if.org Git - libjpeg-turbo/commit
Win: Enable testing cross-compiled builds
authorDRC <information@libjpeg-turbo.org>
Sat, 6 Feb 2016 20:09:20 +0000 (14:09 -0600)
committerDRC <information@libjpeg-turbo.org>
Sun, 7 Feb 2016 00:40:19 +0000 (18:40 -0600)
commitf9134384b728d8943f252b27464d83c4b7b2d159
treeabb4ce11715c7869099a137fd49abc6af18de514
parentce0dd949b20b5b6f850bdff7216a8f3ac20840b4
Win: Enable testing cross-compiled builds

When cross-compiling, CMakeLists.txt now generates the CTest script
using relative paths, so that CTest can more easily be executed on a
different machine from the build machine.  Furthermore, Windows builds
are now tested using md5cmp, just like on Linux, rather than a CMake
script.  This prevents issues with differing CMake locations between
the build and test machines.

This also removes some trailing spaces from the md5cmp code and improves
the readability of the test code in CMakeLists.txt.
CMakeLists.txt
cmakescripts/md5cmp.cmake [deleted file]
md5/CMakeLists.txt [new file with mode: 0644]
md5/md5.c
md5/md5cmp.c
md5/md5hl.c