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 ====================================================================== -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers