[cmake-developers] [CMake 0014096]: Ninja Generator Fails to Produce Valid File When Cross Compiling
Mantis Bug Tracker
mantis at public.kitware.com
Wed Apr 17 12:38:52 EDT 2013
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
======================================================================
More information about the cmake-developers
mailing list