| View Issue Details [ Jump to Notes ] | [ Print ] |
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0014096 | CMake | CMake | public | 2013-04-17 12:38 | 2016-06-10 14:31 |
|
| Reporter | Chris Sulmone | |
| Assigned To | Kitware Robot | |
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | moved | |
| Platform | Windows | OS | Windows 7 | OS Version | |
| Product Version | | |
| Target Version | | Fixed in Version | | |
|
| Summary | 0014096: 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 |
| Tags | No tags attached. |
|
| Attached Files | |
|