[cmake-developers] Testing that solution contains what it should

Petr Kmoch petr.kmoch at gmail.com
Wed Oct 10 04:02:56 EDT 2012


Thanks for the link, I will work my way from there.

Petr

On Tue, Oct 9, 2012 at 10:57 PM, Brad King <brad.king at kitware.com> wrote:

> On 10/09/2012 04:32 PM, Petr Kmoch wrote:
> > Is there a standard mechanism (perhaps something like the macro
> check_cmake_test()) to test that a generated buildsystem (specifically,
> Visual Studio solution)
> > contains what it should? If not, are there some test for this which I
> could take insipration from?
>
> AFAIK the only test that actually checks the content of a .sln
> file directly was added here:
>
>  http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=4a30258d
>
> All other tests just verify that the generated build system
> behaves as expected (with varying degrees of completeness).
>
> > I found a test (SourceGroups) which I believe would require similar
> functionality, but it doesn't seem to actually inspect the generated
> solution
>
> That is a very old test and it pre-dated much of our current
> testing capabilities.  IIRC it just verifies that projects
> actually build when source groups are set, but not that the
> IDE actually presents the groups.  The latter is quite hard
> to do robustly but perhaps some kind of .vcproj / .vcxproj.filters
> parsing could be added to the test.
>
> -Brad
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20121010/e3059133/attachment.html>


More information about the cmake-developers mailing list