[cmake-developers] Weird dependency on object files generated elsewhere
Brad King
brad.king at kitware.com
Thu May 29 10:08:58 EDT 2014
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
More information about the cmake-developers
mailing list