[cmake-developers] [CMake 0014414]: Ninja: Running compiler from build dir makes it being run from bad relative directory
Mantis Bug Tracker
mantis at public.kitware.com
Mon Sep 16 03:15:12 EDT 2013
The following issue has been SUBMITTED.
======================================================================
http://www.cmake.org/Bug/view.php?id=14414
======================================================================
Reported By: Damian Kaczmarek
Assigned To:
======================================================================
Project: CMake
Issue ID: 14414
Category: CMake
Reproducibility: always
Severity: block
Priority: normal
Status: new
======================================================================
Date Submitted: 2013-09-16 03:15 EDT
Last Modified: 2013-09-16 03:15 EDT
======================================================================
Summary: Ninja: Running compiler from build dir makes it
being run from bad relative directory
Description:
During my build setup I am creating "build/bin/ccache-arm-none-eabi-gcc"
My toolchain setup sets this binary:
set(CMAKE_C_COMPILER "${CCACHE_GCC_BINARY}" CACHE FORCE "")
Everything is fine when using "make", however when using "ninja" the following
problem arose:
[6/1347] Building ASM object
Project/CMakeFiles/Project_startup.dir/startup.s.obj
FAILED: ../bin/ccache-arm-none-eabi-gcc ... rest of command ...
/bin/sh: ../bin/ccache-arm-none-eabi-gcc: No such file or directory
I may try to provide a small test project setup if requested.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2013-09-16 03:15 Damian KaczmarekNew Issue
======================================================================
More information about the cmake-developers
mailing list