29 Mar
2017
29 Mar
'17
10:03 p.m.
Steven Watanabe Via Boost wrote:
On 03/29/2017 03:07 PM, Adam Wulkiewicz via Boost wrote:
Steven Watanabe Via Boost wrote:
Changing 'compile' to use an 'obj' target instead should fix it. There's a bug with --dump-tests when a test target is used in a configure check. (Note that since this test probably shouldn't be reported in the regression output, using compile is not correct in the first place.)
To make sure I understand you correctly are you suggesting replacing `compile` rule with `exe` rule? So change: compile check/has_opencl.cpp : : has_opencl ; into exe has_opencl : check/has_opencl.cpp ; which works, btw.
I suggested obj, not exe (there's no need to link), but that works to.
Thanks, I can suggest a fix now. Adam