The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=14096 
====================================================================== 
Reported By:                Chris Sulmone
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   14096
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2013-04-17 12:38 EDT
Last Modified:              2013-04-17 12:38 EDT
====================================================================== 
Summary:                    Ninja Generator Fails to Produce Valid File When
Cross Compiling
Description: 
I am using the latest version of CMake (compiled from source) on windows.

When generating a ninja build configuration w/ cross-compiling using
https://raw.github.com/taka-no-me/android-cmake/master/android.toolchain.cmake
on andriod, paths with backslashes ('\') are produced instead of forward slashes
('/'). This leads to the android toolchain failing to link files.

I looked through the source and it looks like there is specific handling for
MinGW ninja makefiles on windows to account for backslashes.  Maybe a more
generalized approach would work to fix this for cross-compilation as well.

Steps to Reproduce: 
1) Generate a ninja build file using
https://raw.github.com/taka-no-me/android-cmake/master/android.toolchain.cmake
2) Run ninja
3) Explosions at link stage
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2013-04-17 12:38 Chris Sulmone  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

Reply via email to