The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=14043 
====================================================================== 
Reported By:                Mathias Gaunard
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   14043
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2013-03-27 06:15 EDT
Last Modified:              2013-03-27 06:15 EDT
====================================================================== 
Summary:                    CUDA_COMPUTE_BUILD_PATH unnecessarily generates very
long path when source is in binary directory
Description: 
I generate .cu files in the binary directory that I then build with
CUDA_ADD_EXECUTABLE. Unfortunately CUDA_COMPUTE_BUILD_PATH will generate a path
for intermediate files based on the relative path of that .cu file to the source
directory; this may cause very long paths in the resulting building rules.

In particular it prevents building with Ninja on Linux.

Patch to fix this problem is attached: it makes the path relative to the current
binary directory if the file is in the current binary directory.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2013-03-27 06:15 Mathias GaunardNew Issue                                    
2013-03-27 06:15 Mathias GaunardFile Added: cuda_source_in_binary_path.diff     
              
======================================================================

--

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

Reply via email to