[cmake-developers] [CMake 0015269]: Toolchain file not loaded without C language enabled

Mantis Bug Tracker mantis at public.kitware.com
Sun Nov 30 11:39:26 EST 2014


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=15269 
====================================================================== 
Reported By:                David Zemon
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15269
Category:                   CMake
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2014-11-30 11:39 EST
Last Modified:              2014-11-30 11:39 EST
====================================================================== 
Summary:                    Toolchain file not loaded without C language enabled
Description: 
Problem:
My toolchain file is not being loaded.

Apparent Cause:
Any time the C language is not enabled (by either 'project' or
'enable_langauge').

Normally, I have the toolchain file loaded with a file at the top of my root
CMakeLists.txt file that reads:  
  set(CMAKE_TOOLCHAIN_FILE ${PROPWARE_PATH}/PropellerToolchain.cmake)
but in an effort to try and debug this, I've also added the definition to my
command line. No change occurred.


Steps to Reproduce: 
Reproducing the problem is straight-forward, but requires installing a toolchain
as was deemed too complicated in my previous bug. For those willing to try, see
instructions here: http://public.kitware.com/Bug/view.php?id=15155

I have not yet been able to reproduce this with a desktop build, but will report
back if that changes.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2014-11-30 11:39 David Zemon    New Issue                                    
======================================================================



More information about the cmake-developers mailing list