View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0016065 | CMake | CMake | public | 2016-04-14 19:57 | 2016-06-10 14:31 | ||||
Reporter | Guillaume Dumont | ||||||||
Assigned To | Kitware Robot | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | moved | ||||||
Platform | 64 bit | OS | Windows | OS Version | 10 | ||||
Product Version | CMake 3.5.1 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0016065: Building CUDA files fails when compile definitions contains parenthesis | ||||||||
Description | When calling cuda_wrap_srcs with the OPTIONS argument or when adding compile definitions via add_definitions the build fails when the definitions contain parentheses. For example, add_definitions("-DFOO_BAR_EXPORT=declspec\(dllimport\)") generates: set(nvcc_flags -DFOO_BAR_EXPORT=declspec(dllimport)) which makes the build fail. When the parentheses are escaped like so: add_definitions("-DFOO_BAR_EXPORT=declspec\\\(dllimport\\\)") we get: set(nvcc_flags -DFOO_BAR_EXPORT=declspec\(dllimport\)) and everything is fine. This is similar to issue: https://cmake.org/Bug/view.php?id=15919 [^] Maybe a similar fix can be applied? | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0042983) 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 |
2016-04-14 19:57 | Guillaume Dumont | New Issue | |
2016-06-10 14:29 | Kitware Robot | Note Added: 0042983 | |
2016-06-10 14:29 | Kitware Robot | Status | new => resolved |
2016-06-10 14:29 | Kitware Robot | Resolution | open => moved |
2016-06-10 14:29 | Kitware Robot | Assigned To | => Kitware Robot |
2016-06-10 14:31 | Kitware Robot | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |