View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0012551 | CMake | CMake | public | 2011-11-02 08:09 | 2011-12-16 17:23 | ||||
Reporter | Paul Gideon Dann | ||||||||
Assigned To | Alex Neundorf | ||||||||
Priority | normal | Severity | major | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | x86_64 | OS | ArchLinux | OS Version | |||||
Product Version | CMake 2.8.6 | ||||||||
Target Version | CMake 2.8.7 | Fixed in Version | CMake 2.8.7 | ||||||
Summary | 0012551: New CMAKE_AUTOMOC feature breaks when re-configuring | ||||||||
Description | When re-configuring & generating with ccmake, the automoc build.cmake file adds a leading slash to the "cmake" command, causing it to break. Follow the steps below using the testcase provided to reproduce the bug. | ||||||||
Steps To Reproduce | * Create "build" directory and run "cmake .." inside. * Note that running "make" at this point yields a good compile. * Start again with a clean directory, but instead of building, run "ccmake .." * Configure & Generate * Try to build again You'll get a "/cmake: Command not found" error. This is caused by a leading slash that has been introduced in CMakeFiles/example_automoc.dir/build.make (line 48), in the CMakeFiles/example_automoc rule. Removing the slash from "/cmake" fixes the problem, and the testcase builds correctly. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | testcase.tar.bz2 [^] (784 bytes) 2011-11-02 08:09 | ||||||||
Relationships | |
Relationships |
Notes | |
(0027720) Alex Neundorf (developer) 2011-11-03 18:04 |
cmake::GetCMakeCommand() returned a wrong path when called from ccmake, if ccmake has been started via the PATH. Fixed and merged into next. Should be in 2.8.7. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2011-11-02 08:09 | Paul Gideon Dann | New Issue | |
2011-11-02 08:09 | Paul Gideon Dann | File Added: testcase.tar.bz2 | |
2011-11-02 08:33 | Brad King | Assigned To | => Alex Neundorf |
2011-11-02 08:33 | Brad King | Status | new => assigned |
2011-11-03 18:04 | Alex Neundorf | Note Added: 0027720 | |
2011-11-03 18:04 | Alex Neundorf | Status | assigned => closed |
2011-11-03 18:04 | Alex Neundorf | Resolution | open => fixed |
2011-12-16 17:23 | David Cole | Fixed in Version | => CMake 2.8.7 |
2011-12-16 17:23 | David Cole | Target Version | => CMake 2.8.7 |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |