[CMake] Change compiler for certain files in the project

Aaron Boxer boxerab at gmail.com
Sat Oct 28 10:50:32 EDT 2017


Hello,

I have a cmake project on linux, and I would like to change the compiler
for certain files from g++ to  another, llvm-based compiler called hcc.
(hcc is AMDs HIP compiler for GPGPU)


Is there a way of doing this in my cmake file ?

Thanks,
Aaron
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20171028/28acde05/attachment.html>


More information about the CMake mailing list