[Cmake-commits] [cmake-commits] bigler committed run_nvcc.cmake 1.1 1.2
cmake-commits at cmake.org
cmake-commits at cmake.org
Wed Sep 23 00:50:18 EDT 2009
Update of /cvsroot/CMake/CMake/Modules/FindCUDA
In directory public:/mounts/ram/cvs-serv5250
Modified Files:
run_nvcc.cmake
Log Message:
Added a command to make the output directory. This is to fix the XCode build that uses a different output directory than other systems, and rather than try to match that we'll just make it.
Index: run_nvcc.cmake
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/FindCUDA/run_nvcc.cmake,v
retrieving revision 1.1
retrieving revision 1.2
diff -C 2 -d -r1.1 -r1.2
*** run_nvcc.cmake 15 Sep 2009 06:38:20 -0000 1.1
--- run_nvcc.cmake 23 Sep 2009 04:50:16 -0000 1.2
***************
*** 121,124 ****
--- 121,130 ----
)
+ # Make sure the output directory is present
+ cuda_execute_process(
+ "Creating output directory: ${generated_file_path}"
+ COMMAND "${CMAKE_COMMAND}" -E make_directory "${generated_file_path}"
+ )
+
# Generate the dependency file
cuda_execute_process(
More information about the Cmake-commits
mailing list