The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=14550 
====================================================================== 
Reported By:                Nils Gladitz
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   14550
Category:                   (No Category)
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2013-11-07 07:06 EST
Last Modified:              2013-11-07 07:06 EST
====================================================================== 
Summary:                    FindCUDA: source files shared between multiple
targets results in linker using objects from both targets
Description: 
With the attached sample project consisting of CMakeLists.txt and test.cu two
identical targets are being created.

With the Visual Studio 10 generator this results in each target using object
files from the other target resulting in duplicate symbol errors.

With the NMake Makefiles generator there seems to be no issue.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2013-11-07 07:06 Nils Gladitz   New Issue                                    
2013-11-07 07:06 Nils Gladitz   File Added: CMakeLists.txt                    
======================================================================

--

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