[cmake-developers] [CMake 0015278]: Ninja generator breaks when creating archives with GNU 'ar' in Windows

Mantis Bug Tracker mantis at public.kitware.com
Wed Dec 3 09:07:06 EST 2014


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=15278 
====================================================================== 
Reported By:                bogdanm
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15278
Category:                   CMake
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2014-12-03 09:07 EST
Last Modified:              2014-12-03 09:07 EST
====================================================================== 
Summary:                    Ninja generator breaks when creating archives with
GNU 'ar' in Windows
Description: 
When creating an archive in Windows, the Ninja generator doesn't list all the
archive members on the command line; instead, it creates a file with a list of
all the archive members and gives that to 'ar' using '@file'. That in itself is
a very good idea; unfortunately, backslashes in @file are interpreted as escape
sequences, which effectively disregards the Windows path separator '\'. This can
be fixed by using '\\' instead of '\' in @file.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2014-12-03 09:07 bogdanm        New Issue                                    
======================================================================



More information about the cmake-developers mailing list