The following issue has been SUBMITTED. 
====================================================================== 
https://public.kitware.com/Bug/view.php?id=15520 
====================================================================== 
Reported By:                Walter Gray
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15520
Category:                   CMake
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2015-04-17 16:58 EDT
Last Modified:              2015-04-17 16:58 EDT
====================================================================== 
Summary:                    AUTORCC fails with multiple .qrc files in the same
target
Description: 
If a target has multiple .qrc files, the corresponding _automoc build step will
fail

Steps to Reproduce: 
Create a target with AUTORCC enabled, add 2 .qrc files & attempt to build.

Additional Information: 
Failure output in VS2013:
Error   1       error MSB4018: The "CustomBuild" task failed unexpectedly.
System.NotSupportedException: The given path's format is not supported.
   at System.Security.Util.StringExpressionSet.CanonicalizePath(String path,
Boolean needFullPath)
   at
System.Security.Util.StringExpressionSet.CreateListFromExpressions(String[] str,
Boolean needFullPath)
   at
System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess
access, AccessControlActions control, String[] pathListOrig, Boolean
checkForDuplicates, Boolean needFullPath, Boolean copyPathList)
   at System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess
access, String[] pathList, Boolean checkForDuplicates, Boolean needFullPath)
   at System.IO.Path.GetFullPath(String path)
   at Microsoft.Build.CPPTasks.CustomBuild.GetInputs(ITaskItem item)
   at Microsoft.Build.CPPTasks.CustomBuild.BuildExecutionGraph()
   at Microsoft.Build.CPPTasks.CustomBuild.AssignOutOfDateSources(ITaskItem[]
sources)
   at Microsoft.Build.CPPTasks.TrackedVCToolTask.ComputeOutOfDateSources()
   at Microsoft.Build.CPPTasks.TrackedVCToolTask.SkipTaskExecution()
   at Microsoft.Build.Utilities.ToolTask.Execute()
   at Microsoft.Build.CPPTasks.TrackedVCToolTask.Execute()
   at
Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
   at
Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__20.MoveNext()   
C:\Program
Files
(x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets       170     
5       ControlPanelUI_automoc

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2015-04-17 16:58 Walter Gray    New Issue                                    
======================================================================

-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers

Reply via email to