[CMake] Error adding rule for c:/dev/blah/../blah/CMakeLists.txt

William A. Hoffman billlist at nycap.rr.com
Thu Apr 20 15:50:56 EDT 2006


At 12:16 PM 4/20/2006, Phillip Hellewell wrote:
>On 4/19/06, William A. Hoffman <<mailto:billlist at nycap.rr.com>billlist at nycap.rr.com> wrote:
>Can you create a small example that shows this problem?
>
>-Bill
>
>
>Ok, here it is.  When you try to run CMake version 2.4.0 with VS7 generator on myproj, you will get this error popping up 4 times: 
>
>"CMake Error: Error adding rule for C:/cmake_test/myproj/../mylib/CMakeList.txt"
>
>and finally, the last error message:
>
>"CMake Error: Error in generation process, project files may be invalid (Press Cancel to suppress any further messages.)" 
>
>If you just try to run cmake on mylib, it will build the project file with absolutely no problem.

I have checked in a fix that works for this example.

-Bill



More information about the CMake mailing list