[cmake-developers] [CMake 0014352]: CMake crashing with white space in generator expression

Mantis Bug Tracker mantis at public.kitware.com
Tue Aug 13 04:01:33 EDT 2013


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=14352 
====================================================================== 
Reported By:                chrislu
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   14352
Category:                   CCMake
Reproducibility:            always
Severity:                   crash
Priority:                   high
Status:                     new
====================================================================== 
Date Submitted:             2013-08-13 04:01 EDT
Last Modified:              2013-08-13 04:01 EDT
====================================================================== 
Summary:                    CMake crashing with white space in generator
expression
Description: 
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}):")

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2013-08-13 04:01 chrislu        New Issue                                    
======================================================================




More information about the cmake-developers mailing list