[CMake] Visual Studio build question

John Drescher drescherjm at gmail.com
Mon Jan 12 15:30:57 EST 2009


On Mon, Jan 12, 2009 at 3:27 PM, James Bigler <jamesbigler at gmail.com> wrote:
> So when I have a project that builds a library (call it libprovides) and I
> have another project that uses that library (libuses), CMake creates a build
> dependency between the two projects.  I can see them when I open the Project
> Dependencies dialog and notice that there are check marks next to the
> libprovides library project.
>
> The issue I'm seeing, is that if libprovides library project fails to build,
> VS decides to try and build the libuses library anyway, and then complains
> that libprovides isn't there.
>
> Is this the intended behavior of VS, or did I perhaps set something up wrong
> in my CMakeLists.txt?
>

This is the intended feature of VS. I see that in my non cmake projects as well.

John


More information about the CMake mailing list