[CMake] CMake with two C++ compilers

Sergei Nikulov sergey.nikulov at gmail.com
Wed May 8 09:23:12 EDT 2019


ср, 8 мая 2019 г. в 14:27, JR Cary <cary at txcorp.com>:
>
> Is there a standard way to deal with 2 C++ compilers?  Getting both
> there versions, etc.?
>
> I need one compiler for compiling ordinary C++ code and a different
> one to use as the host compiler for CUDA.
>
> Thx......John Cary

Here is the exact answer to your question
https://devblogs.nvidia.com/building-cuda-applications-cmake/


-- 
Best Regards,
Sergei Nikulov


More information about the CMake mailing list