Compiling CUDA file ending in .cu

Edward Diener via Boost-build <[email protected]> Tue, 1 Oct 2019 13:49:37 -0400
Newsgroups gmane.comp.lib.boost.build
Message-ID <[email protected]>
I just want to use the 'compile' rule to compile a CUDA file, meaning a 
file ending in .cu, to an object file in a .jam file. In all other 
respects the CUDA file should be treated like a normal .cpp file being 
compiled with the 'compile' rule. Is there some way to specify this in a 
jam file ?

My current attempt generates:

somepath/boost/tools/build/src/build/generators.jam:1127: in ensure-type 
from module generators
error: target { clang_cuda.cu. } has no type
etc.

What do I have to do to tell Boost Build that the .cu type should be 
treated just like .cpp type for my 'compile' test ?

_______________________________________________
Unsubscribe & other changes: https://lists.boost.org/mailman/listinfo.cgi/boost-build