[CMake] CMake 2.8.3-rc4 ready for testing!

Rolf Eike Beer eike at sf-mail.de
Wed Nov 3 15:09:03 EDT 2010


Am Mittwoch, 3. November 2010 schrieb Eric Noulard:

> I "may" have a problem with Visual Studio 2010 generator.
> The concerned project CERTI (https://savannah.nongnu.org/projects/certi)
> builds fine on on several using CMake.
> 
> But when we try to build CERTI with CMake 2.8.2 (or 2.8.3rc4) we get
> a solution file which fails to load completely because because one vcproj
> contains an apparently mis-closed statement:
> 
> offending lines are those one:
> [...]
>     <None Include="..\..\certi-HEAD\libHLA\HLAvariantRecord.hh" />
>     <ClInclude Include="..\..\certi-HEAD\libHLA\sha1.h">
>       <ObjectFileName>$(IntDir)/sha1.obj</ObjectFileName>
>     </ClCompile>
>     <None Include="..\..\certi-HEAD\libHLA\Clock.hh" />
> [...]
> 
> i.e. the <ClInclude Include ...>
> is closed by a
>    </ClCompile>
> 
> The corresponding source code may be found there:
> http://cvs.savannah.gnu.org/viewvc/certi/?root=certi.
> 
> I'm not sure I will have the time to build a smaller example.
> 
> Note that the same source tree is working well using any
> other CMake generators (Visual Studio or Code::Blocks etc...)
> so the problem seems to be particular to VS2010.

Try the attached patch. It's completely untested so it may even not compile 
but that should be pretty straightforward.

Greetings,

Eike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-fix-MSVC2010-generator-writing-wrong-closing-tag.patch
Type: text/x-patch
Size: 1289 bytes
Desc: not available
URL: <http://www.cmake.org/pipermail/cmake/attachments/20101103/46869cfd/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://www.cmake.org/pipermail/cmake/attachments/20101103/46869cfd/attachment.pgp>


More information about the CMake mailing list