[CMake] Solution folder property does not work for external projects in cmake 2.8.3
David Cole
david.cole at kitware.com
Mon Nov 15 05:59:01 EST 2010
On Sun, Nov 14, 2010 at 3:11 AM, Andreas Mohr <andi at lisas.de> wrote:
> On Thu, Nov 04, 2010 at 09:28:57AM -0400, cmake-request at cmake.org wrote:
>> Message: 1
>> Date: Thu, 4 Nov 2010 06:10:24 -0400
>> From: David Cole <david.cole at kitware.com>
>> Subject: Re: [CMake] Solution folder property does not work for
>> external projects in cmake 2.8.3
>> To: Jens Auer <jensa at miltenyibiotec.de>
>> Cc: cmake at cmake.org
>> Message-ID:
>> <AANLkTin3FOaesQqiJzB4qri-dfEz=HG6z3ROy5dzFoFm at mail.gmail.com>
>> Content-Type: text/plain; charset=ISO-8859-1
>
>> Presently, if the generated FOLDER structure is incorrect, our
>> automated testing will not currently catch an error of that sort. Does
>> anybody have a good idea for how to verify the correctness of the
>> generated solution file? Right now it requires manual inspection of
>> the VS GUI to determine whether the result is correct or not.
>
> xmllint, I suppose.
>
> And if it needs to have more than basic XML element structure consistency checks,
> then it's probably possible to use --dtdvalid on a DTD (as hopefully
> published for VS2005/08/10 etc.).
>
> Unless that's still not precise enough for full validation of all
> content.
>
>
> Obviously this should best be made a mandatory post-build step prior to release.
>
> HTH,
>
> Andreas Mohr
>
But what I really want is to validate that the folder structure is as
the CMakeLists.txt files describe them to be via the new target
property... Just validating that the *.sln file is valid xml will not
help much there.
More information about the CMake
mailing list