MantisBT - CMake
View Issue Details
0014352CMakeCCMakepublic2013-08-13 04:012014-02-10 10:44
chrislu 
Stephen Kelly 
highcrashalways
closedfixed 
WindowsWindows 7x64
CMake 2.8.11.2 
CMake 2.8.12 
0014352: CMake crashing with white space in generator expression
With the blow custom command the cmake gui is crashing with the white space behind the : after the ARGS command. Removing the space fixes this.

            add_custom_command(OUTPUT ${CUDA_NVCC_OUTPUT_FILE}
                               COMMAND ${SCM_CUDA_NVCC_COMMAND}
                                   ARGS $<$<CONFIG:Debug>: ${SCM_CUDA_NVCC_OPTIONS_DEBUG}>
                                        ${SCM_CUDA_NVCC_OPTIONS}
                                        ${SCM_CUDA_NVCC_INC_DIR_STRING}
                                        ${SCM_CUDA_NVCC_DEF_STRING}
                                        -o \"${CUDA_NVCC_OUTPUT_FILE}\"
                                        \"${input_file}\"
                               MAIN_DEPENDENCY ${input_file}
                               DEPENDS ${input_file}
                               COMMENT "NVCC compiling (${input_file_name}):")
No tags attached.
related to 0014353closed Kitware Robot list expansion from generator expression in custom command 
Issue History
2013-08-13 04:01chrisluNew Issue
2013-08-13 08:01Stephen KellyNote Added: 0033701
2013-08-13 08:01Stephen KellyAssigned To => Stephen Kelly
2013-08-13 08:01Stephen KellyStatusnew => assigned
2013-08-13 09:13Brad KingRelationship addedrelated to 0014353
2013-08-14 04:06Stephen KellyStatusassigned => resolved
2013-08-14 04:06Stephen KellyFixed in Version => CMake 2.8.12
2013-08-14 04:06Stephen KellyResolutionopen => fixed
2014-02-10 10:44Robert MaynardNote Added: 0035072
2014-02-10 10:44Robert MaynardStatusresolved => closed

Notes
(0033701)
Stephen Kelly   
2013-08-13 08:01   
Fix pushed to next:

 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=36eef302 [^]
(0035072)
Robert Maynard   
2014-02-10 10:44   
Closing resolved issues that have not been updated in more than 4 months.