View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014779CMakeCMakepublic2014-02-28 04:302016-06-10 14:31
ReporterDomagoj Saric 
Assigned ToKitware Robot 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionmoved 
PlatformOSWindowsOS Version7 x64
Product VersionCMake 2.8.12.2 
Target VersionFixed in Version 
Summary0014779: CMAKE_TOOLCHAIN_FILE broken when used with child CMake process
DescriptionWhen -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 InformationThe generator used was Eclipse + MinGW Makefiles...
TagsNo tags attached.
Attached Files

 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.

 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


Copyright © 2000 - 2018 MantisBT Team