Hmm I haven't been following this thread, but you are correct. We should make sure to synchronize the two branches to make sure that FindCUDA-arm-5.5 uses the new CMAKE_<LANG>_COMPILER_TARGET.
On Fri, Oct 25, 2013 at 9:23 AM, Stephen Kelly <steve...@gmail.com> wrote: > Brad King wrote: > >> Great! Here are some comments. >> >> The CMAKE_<LANG>_COMPILER_TARGET variable needs documentation added, >> especially to say that it is only supported in a toolchain file. >> CMAKE_<LANG>_COMPILER_EXTERNAL_TOOLCHAIN needs documentation too. >> > > I think that the FindCUDA-arm-5.5 topic just merged to stage could also make > use of CMAKE_<LANG>_COMPILER_TARGET. I don't know anything about CUDA or > about NVCC, but --target-cpu-architecture looks to me like it solves the > same problem as the clang and qcc case. > > I didn't find any pre-existing *TARGET_CPU* or *CPU_ARCH* in the CMake code. > > Thanks, > > Steve. > > > -- > > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the CMake FAQ at: > http://www.cmake.org/Wiki/CMake_FAQ > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers