[CMake] CXX and CUDACXX
Dustyn Blasig
dustyn at blasig.us
Tue Apr 16 11:02:01 EDT 2019
Hi All,
I'd like to understand the expectations with CMake 3.12+ with the following
setup.
project(foo LANGUAGES CXX CUDA)
By default, should the CUDACXX compiler be using the found compiler for CXX
for host-side compilation?
What I'm seeing is that host-side compilation for CUDA is not passing
-ccbin to NVCC or setting up the environment in a way that nvcc will use
the CXX configured compiler but rather just using the c++ it finds on PATH.
Is there a best practice for telling the CUDA language to use the CXX
settings for host-side compilation?
Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cmake.org/pipermail/cmake/attachments/20190416/bdf9884a/attachment.html>
More information about the CMake
mailing list