View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0014565 | CMake | CMake | public | 2013-11-13 04:47 | 2016-06-10 14:31 | ||||
Reporter | ahaferburg | ||||||||
Assigned To | James Bigler | ||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | ||||
Status | closed | Resolution | moved | ||||||
Platform | OS | OS Version | |||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0014565: CUDA_NVCC_FLAGS_<config> in FindCuda.cmake | ||||||||
Description | CUDA_NVCC_FLAGS_DEBUG, CUDA_NVCC_FLAGS_RELEASE, etc are all being ignored; they don't end up in the .cu.cmake files (generated by cuda_add_library() I believe). I've traced this to an empty CUDA_NVCC_FLAGS_CONFIG, which in turn comes from an empty CUDA_configuration_types variable when it is used in the macro CUDA_WRAP_SRCS. However, when I put CUDA_configuration_types into the parent scope it all works properly (I think): FindCuda.cmake:470 set(CUDA_configuration_types ${CMAKE_CONFIGURATION_TYPES} ${CMAKE_BUILD_TYPE} Debug MinSizeRel Release RelWithDebInfo) list(REMOVE_DUPLICATES CUDA_configuration_types) set(CUDA_configuration_types ${CUDA_configuration_types} PARENT_SCOPE) # <<---- missing Note that we include a script which calls FIND_PACKAGE(). We then add projects with add_subdirectory(), one of which uses CUDA. I assume using add_subdirectory() causes the problem. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0034440) ahaferburg (reporter) 2013-11-13 04:50 |
I'm using 2.8.8.20120503, but I've also tried with the FindCuda.cmake from 2.8.12.1, where the problem still exists. |
(0042421) Kitware Robot (administrator) 2016-06-10 14:29 |
Resolving issue as `moved`. This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2013-11-13 04:47 | ahaferburg | New Issue | |
2013-11-13 04:50 | ahaferburg | Note Added: 0034440 | |
2013-11-13 08:44 | Brad King | Assigned To | => James Bigler |
2013-11-13 08:44 | Brad King | Status | new => assigned |
2016-06-10 14:29 | Kitware Robot | Note Added: 0042421 | |
2016-06-10 14:29 | Kitware Robot | Status | assigned => resolved |
2016-06-10 14:29 | Kitware Robot | Resolution | open => moved |
2016-06-10 14:31 | Kitware Robot | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |