On 05/08/2014 02:34 PM, James Bigler wrote: > CUDA_FILES = > /Users/jbigler/code/FindCUDA/build-cmake-git/src/CMakeFiles/cuda_compile.dir//./cuda_compile_generated_test_bin.cu.o > > When I try to compile cuda_compile_example I get this, though: > > make[2]: *** No rule to make target > `src/CMakeFiles/cuda_compile.dir/cuda_compile_generated_test_bin.cu.o', > needed by `src/cuda_compile_example'. Stop.
This should now be fixed and tested here: add_custom_command: Normalize OUTPUT and DEPENDS paths. http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=c4af46b4 See the commit message for an explanation. -Brad -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
