View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014096CMakeCMakepublic2013-04-17 12:382016-06-10 14:31
ReporterChris Sulmone 
Assigned ToKitware Robot 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionmoved 
PlatformWindowsOSWindows 7OS Version
Product Version 
Target VersionFixed in Version 
Summary0014096: Ninja Generator Fails to Produce Valid File When Cross Compiling
DescriptionI 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 Reproduce1) 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
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0042268)
Kitware Robot (administrator)
2016-06-10 14:28

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.

 Issue History
Date Modified Username Field Change
2013-04-17 12:38 Chris Sulmone New Issue
2016-06-10 14:28 Kitware Robot Note Added: 0042268
2016-06-10 14:28 Kitware Robot Status new => resolved
2016-06-10 14:28 Kitware Robot Resolution open => moved
2016-06-10 14:28 Kitware Robot Assigned To => Kitware Robot
2016-06-10 14:31 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team