The following issue has been SUBMITTED. 
====================================================================== 
http://cmake.org/Bug/view.php?id=14410 
====================================================================== 
Reported By:                Clinton Stimpson
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   14410
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2013-09-13 10:38 EDT
Last Modified:              2013-09-13 10:38 EDT
====================================================================== 
Summary:                    crash with invalid generator expression syntax
Description: 
I did a

set_target_properties(framework PROPERTIES INCLUDE_DIRECTORIES
"$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}")

Where it is missing the closing '>' for the generator expression and it crashed
in stripAllGeneratorExpressions() with lastPos being out of range for substr().


http://cmake.org/Bug/view.php?id=10 0x00000001002675c7 in
stripAllGeneratorExpressions (input=@0x7fff5fbfe498) at
cmGeneratorExpression.cxx:227
227       result += input.substr(lastPos);

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2013-09-13 10:38 Clinton StimpsonNew 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

Reply via email to