[CMake] Stopping the VS build when configure fails

John Drescher drescherjm at gmail.com
Fri Oct 1 08:22:44 EDT 2010


On Fri, Oct 1, 2010 at 2:21 AM, Rolf Eike Beer <eike at sf-mail.de> wrote:
> Am Friday 01 October 2010 schrieb John Drescher:
>> On Thu, Sep 30, 2010 at 7:47 PM, James Bigler <jamesbigler at gmail.com> wrote:
>> > On Thu, Sep 30, 2010 at 5:42 PM, James Bigler <jamesbigler at gmail.com>
> wrote:
>> >> I'm currently using VS 2008 64 bit with CMake 2.6.3.
>> >
>> > This also happens with 2.8.3 RC1.
>>
>> That is good. I would be worried if it did not. The error means a file
>> (traversal.c) is missing in your source or at least not in the folder
>> that CMake is expecting.
>
> As you can see from James' log CMake did in fact _not_ stop the build but
> continued building even if there was an error in generating. And: yes, I have
> seen MSVC builds e.g. running through "INSTALL" even if one of the projects
> before failed to build.
>
Sorry. You are correct. I have never seen this. However I believe the
op is doing a build directly from cmake which I never do.

John


More information about the CMake mailing list