View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0014779 | CMake | CMake | public | 2014-02-28 04:30 | 2016-06-10 14:31 | ||||
Reporter | Domagoj Saric | ||||||||
Assigned To | Kitware Robot | ||||||||
Priority | normal | Severity | major | Reproducibility | always | ||||
Status | closed | Resolution | moved | ||||||
Platform | OS | Windows | OS Version | 7 x64 | |||||
Product Version | CMake 2.8.12.2 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0014779: 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... | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0035219) Brad King (manager) 2014-02-28 08:17 |
Are you passing a full path as the value to CMAKE_TOOLCHAIN_FILE? |
(0035220) Domagoj Saric (reporter) 2014-02-28 08:19 |
Yes I simply pass ${CMAKE_TOOLCHAIN_FILE} received by the top level invocation (which finds and parses it successfully)... I also tried making a copy of the toolchain file so as to rule out access permission problems...it didn't help |
(0035221) Brad King (manager) 2014-02-28 08:23 |
Please attach a tarball or zip file with a minimal source tree demonstrating the issue. |
(0042496) Kitware Robot (administrator) 2016-06-10 14:29 |
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. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2014-02-28 04:30 | Domagoj Saric | New Issue | |
2014-02-28 08:17 | Brad King | Note Added: 0035219 | |
2014-02-28 08:19 | Domagoj Saric | Note Added: 0035220 | |
2014-02-28 08:23 | Brad King | Note Added: 0035221 | |
2016-06-10 14:29 | Kitware Robot | Note Added: 0042496 | |
2016-06-10 14:29 | Kitware Robot | Status | new => resolved |
2016-06-10 14:29 | Kitware Robot | Resolution | open => moved |
2016-06-10 14:29 | Kitware Robot | Assigned To | => Kitware Robot |
2016-06-10 14:31 | Kitware Robot | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |