[cmake-developers] [CMake 0014779]: CMAKE_TOOLCHAIN_FILE broken when used with child CMake process
Mantis Bug Tracker
mantis at public.kitware.com
Fri Feb 28 04:30:28 EST 2014
The following issue has been SUBMITTED.
======================================================================
http://www.cmake.org/Bug/view.php?id=14779
======================================================================
Reported By: Domagoj Saric
Assigned To:
======================================================================
Project: CMake
Issue ID: 14779
Category: CMake
Reproducibility: always
Severity: major
Priority: normal
Status: new
======================================================================
Date Submitted: 2014-02-28 04:30 EST
Last Modified: 2014-02-28 04:30 EST
======================================================================
Summary: CMAKE_TOOLCHAIN_FILE broken when used with child
CMake process
Description:
When -DCMAKE_TOOLCHAIN_FILE:FILEPATH=toolchainFile is specified in a child CMake
invocation from a parent CMake project the configure phase fails with a "file
not found" error reported for the specified "toolchainFile".
Steps to Reproduce:
- load a project in CMake GUI which uses a toolchain file
- this project/CMakeLists.txt must within itself again call execute_process(
${CMAKE_COMMAND} <...> -DCMAKE_TOOLCHAIN_FILE:FILEPATH=toolchainFile <...> )
- press Configure
- the child CMake invocation will fail with a "file not found error"...
Additional Information:
The generator used was Eclipse + MinGW Makefiles...
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2014-02-28 04:30 Domagoj Saric New Issue
======================================================================
More information about the cmake-developers
mailing list