Improve nvcc error reporting
authorMark Abraham <mark.j.abraham@gmail.com>
Thu, 10 Jan 2019 09:07:59 +0000 (10:07 +0100)
committerSzilárd Páll <pall.szilard@gmail.com>
Fri, 18 Jan 2019 12:51:08 +0000 (13:51 +0100)
commit89c9d32f4bb4ce01dc699c820aac8edba77c3901
treed334a846183f3ecd3987c158088cfd8596e648b8
parent8459e2024cc5a39958b45c7e3e07447c145643ad
Improve nvcc error reporting

When nvcc fails, tell the user about both standard error and standard
output. The former code was broken if _cuda_test_err would be
undefined, and reported by a user (see the link at Redmine #2500).

Change-Id: Id16d2ff1bd1033cd23e82687b79409ea8d841131
cmake/gmxManageNvccConfig.cmake