[CMake] VS2010 and superbuild - Fwd: [Ctk-developers] VS2010 support

Sascha Zelzer s.zelzer at dkfz-heidelberg.de
Fri Jul 29 02:14:55 EDT 2011


Hi,

Thanks David and Yuri for the information. In my case (with CTK), there 
are no error messages. The download step is successfully completed and 
the following steps are just skipped. VS then reports that everything 
was successfull (or up-to-date).

I will play with your test cases and my VS 2010 installation.

Thanks,
Sascha

On 07/29/2011 12:30 AM, David Cole wrote:
> The ExternalProject test in the CMake test suite passes on Visual Studio 2010.
>
> You can see all the variations of ExternalProject usage the test tries
> in this file:
> http://cmake.org/gitweb?p=cmake.git;a=blob;f=Tests/ExternalProject/CMakeLists.txt;h=4a542d722ff127e672a63082c6bb35de1f3ef9cd;hb=b6fb213ed1431321fab0705beb3aae82f451dcc8
>
> Are there any error messages you get? Or are steps just skipped?
>
> ??
> David
>
>
> On Wed, Jul 27, 2011 at 11:38 PM, Yuri Timenkov<yuri at timenkov.ru>  wrote:
>> I'm not sure I understood your question, but now I use ExternalProject (from
>> CMake 2.8.4) with Visual Studio 2010 which has 2 externals: one built with
>> custom command (the C# project) and the second one is CMake-based but with
>> VC6 generator. Everything compiles and works fine. But I don't have download
>> step - everything is in my source directory.
>>
>> The only wish I have I filed to Mantis:
>> http://public.kitware.com/Bug/view.php?id=12322
>>
>> Regards,
>> Yuri
>>
>> On Thu, Jul 28, 2011 at 12:37 AM, Sascha Zelzer
>> <s.zelzer at dkfz-heidelberg.de>  wrote:
>>> Hi,
>>>
>>> Is nobody on this list using CTK or Slicer with Visual Studio 2010 in
>>> superbuild mode? If you do, could you please post if you had success or not?
>>>
>>> Thanks,
>>> Sascha
>>>
>>> On 07/22/2011 06:20 PM, Jean-Christophe Fillion-Robin wrote:
>>>
>>> Hi Folks,
>>>
>>> Before digging further into the problem ... if some your experience issue
>>> with VS2010 and superbuild .. would be great if you could provide more
>>> details about your investigation.
>>>
>>> Thanks
>>> Jc
>>>
>>> ---------- Forwarded message ----------
>>> From: Sascha Zelzer<s.zelzer at dkfz-heidelberg.de>
>>> Date: Fri, Jul 22, 2011 at 12:07 PM
>>> Subject: Re: [Ctk-developers] VS2010 support
>>> To: ctk-developers at commontk.org
>>>
>>>
>>> Hi,
>>>
>>> there is something very strange going on. The generated VS 2010 projects
>>> (I am using the Express editions, 32bit) for the external dependencies like
>>> DCMTK, Log4Qt, etc. only call the download step of the ExternalProject_add
>>> call in our superbuild scripts. The projects are not configured and build.
>>>
>>> Did anybody experience the same? I tried with and without the VS 2010 SP1
>>> and with CMake 2.8.4 and 2.8.5.
>>>
>>> Thanks,
>>> Sascha
>>>
>>> On 07/22/2011 01:39 PM, Sascha Zelzer wrote:
>>>> Hi Folks,
>>>>
>>>> I would like to get Visual Studio 2010 compatibility for CTK.
>>>>
>>>> Currently, it looks like I will have to copy ExternalProject.cmake to
>>>> CTK for the CMAKE_CACHE_ARGS argument. Then a couple of small
>>>> modifications should do.
>>>>
>>>> Any other ideas or objections?
>>>>
>>>> Thanks,
>>>>
>>>> Sascha
>>>> _______________________________________________
>>>> Ctk-developers mailing list
>>>> Ctk-developers at commontk.org
>>>> http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers
>>> _______________________________________________
>>> Ctk-developers mailing list
>>> Ctk-developers at commontk.org
>>> http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers
>>>
>>>
>>>
>>> --
>>> +1 919 869 8849
>>>
>>>
>>>
>>> _______________________________________________
>>> Powered by www.kitware.com
>>>
>>> Visit other Kitware open-source projects at
>>> http://www.kitware.com/opensource/opensource.html
>>>
>>> Please keep messages on-topic and check the CMake FAQ at:
>>> http://www.cmake.org/Wiki/CMake_FAQ
>>>
>>> Follow this link to subscribe/unsubscribe:
>>> http://www.cmake.org/mailman/listinfo/cmake
>>
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the CMake FAQ at:
>> http://www.cmake.org/Wiki/CMake_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.cmake.org/mailman/listinfo/cmake
>>



More information about the CMake mailing list