The following issue has been SUBMITTED. ====================================================================== http://public.kitware.com/Bug/view.php?id=11726 ====================================================================== Reported By: James Bigler Assigned To: James Bigler ====================================================================== Project: CMake Issue ID: 11726 Category: CMake Reproducibility: always Severity: minor Priority: normal Status: assigned ====================================================================== Date Submitted: 2011-01-19 18:04 EST Last Modified: 2011-01-19 18:04 EST ====================================================================== Summary: Quotes in add_definitions causes bad command generation Description: add_definitions(-DFOO="bar") add_definitions(-Dblah="barf barf")
Will result in: set(nvcc_flags "-DFOO="bar";-Dblah="barf barf"") which has the quotes all wrong. What I believe needs to be done is to change run_nvcc.cmake to not have the quotes around the definition: set(nvcc_flags "@nvcc_flags@") to set(nvcc_flags @nvcc_flags@) This probably also means that I'll need to revisit the use of " in all of the variables and make sure that I'm not using where I don't need it. ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2011-01-19 18:04 James Bigler New Issue 2011-01-19 18:04 James Bigler Status new => assigned 2011-01-19 18:04 James Bigler Assigned To => James Bigler ====================================================================== _______________________________________________ cmake-developers mailing list [email protected] http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
