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 ====================================================================== -- 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
