The following issue has been SUBMITTED. ====================================================================== http://public.kitware.com/Bug/view.php?id=12552 ====================================================================== Reported By: bert Assigned To: ====================================================================== Project: CMake Issue ID: 12552 Category: CMake Reproducibility: always Severity: minor Priority: normal Status: new ====================================================================== Date Submitted: 2011-11-02 10:06 EDT Last Modified: 2011-11-02 10:06 EDT ====================================================================== Summary: CMake ignores toolchain file Description: CMake seems to ignore a (possibly faulty) toolchain file. Regardless whether I use the CMAKE_TOOLCHAIN_FILE option or not, the exact same Makefile is generated. Furthermore, CMake doesn't even throw errors on faulty or non-exisiting toolchain files. I'm not sure whether this is intended behavior, though.
Steps to Reproduce: $ cmake . -- Entering Project Cmake File... -- Configuring the ... Library... -- Configuring for Standard-Linux... -- Configuring done -- Generating done -- Build files have been written to: ... $ cmake -DCMAKE_TOOLCHAIN_FILE=toolchain-that-should-work.cmake . -- Entering Project Cmake File... -- Configuring the ... Library... -- Configuring for Standard-Linux... -- Configuring done -- Generating done -- Build files have been written to: ... $ echo fubar > dummy-toolchain.cmake $ cmake -DCMAKE_TOOLCHAIN_FILE=dummy-toolchain.cmake . -- Entering Project Cmake File... -- Configuring the ... Library... -- Configuring for Standard-Linux... -- Configuring done -- Generating done -- Build files have been written to: ... $ cmake -DCMAKE_TOOLCHAIN_FILE=nonexisting-file.cmake . -- Entering Project Cmake File... -- Configuring the ... Library... -- Configuring for Standard-Linux... -- Configuring done -- Generating done -- Build files have been written to: ... A diff on all the generated Makefiles shows no differences. Additional Information: $ uname -a Linux PC 2.6.35-30-generic http://public.kitware.com/Bug/view.php?id=61-Ubuntu SMP Tue Oct 11 17:52:57 UTC 2011 x86_64 GNU/Linux $ cmake --version cmake version 2.8.2 ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2011-11-02 10:06 bert New 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
