The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=12551 
====================================================================== 
Reported By:                Paul Gideon Dann
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   12551
Category:                   CMake
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2011-11-02 08:09 EDT
Last Modified:              2011-11-02 08:09 EDT
====================================================================== 
Summary:                    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.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-11-02 08:09 Paul Gideon DannNew Issue                                    
2011-11-02 08:09 Paul Gideon DannFile Added: testcase.tar.bz2                   

======================================================================

--

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

Reply via email to