[cmake-developers] Questions on staged topic branches

James Bigler jamesbigler at gmail.com
Tue Sep 11 18:06:05 EDT 2012


On Tue, Sep 4, 2012 at 11:48 AM, David Cole <david.cole at kitware.com> wrote:

> If you are on the "To" line, please reply to this email, and answer
> the questions below:
>
> Brad and I have questions on these staged topic branches before we
> consider them for merging to 'master'.
>
>
> ##########
> # James Bigler:
> #             topics/FindCUDA/Add-CUDA_HOST_COMPILER | master=0 next=1
>
> Is CUDA_HOST_COMPILER a path to a directory or a file? It appears to
> take on different values depending on which if branch you go through.
> Is that true? Or should it always be a full path to the compiler?
>
>
It can technically be either.

--compiler-bindir <path>                    (-ccbin)
        Specify the directory in which the compiler executable (Microsoft
        Visual Studio cl, or a gcc derivative) resides. By default, this
        executable is expected in the current executable search path. For a
        different compiler, or to specify these compilers with a different
        executable name, specify the path to the compiler including the
        executable name.

What is the best course of action in this case?  What I've implemented
seems to work, so I didn't think too much about it.

As far as rebasing on the changes to the compiler id stuff, I would rather
not until it becomes a must have feature.  I've tried to make FindCUDA work
on older than TOT versions of CMake to facilitate my local developer pool.

James
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20120911/9fcaa170/attachment.html>


More information about the cmake-developers mailing list