I&#39;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&#39;t have download step - everything is in my source directory.<br>
<br>The only wish I have I filed to Mantis: <a href="http://public.kitware.com/Bug/view.php?id=12322">http://public.kitware.com/Bug/view.php?id=12322</a><br><br>Regards,<br>Yuri<br><br><div class="gmail_quote">On Thu, Jul 28, 2011 at 12:37 AM, Sascha Zelzer <span dir="ltr">&lt;<a href="mailto:s.zelzer@dkfz-heidelberg.de">s.zelzer@dkfz-heidelberg.de</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><u></u>

  
    
    
  
  <div bgcolor="#ffffff" text="#000000">
    Hi,<br>
    <br>
    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?<br>
    <br>
    Thanks,<br><font color="#888888">
    Sascha</font><div><div></div><div class="h5"><br>
    <br>
    On 07/22/2011 06:20 PM, Jean-Christophe Fillion-Robin wrote:
    <blockquote type="cite">Hi Folks, <br>
      <br>
      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.<br>
      <br>
      Thanks<br>
      Jc<br>
      <br>
      <div class="gmail_quote">---------- Forwarded message ----------<br>
        From: <b class="gmail_sendername">Sascha Zelzer</b> <span dir="ltr">&lt;<a href="mailto:s.zelzer@dkfz-heidelberg.de" target="_blank">s.zelzer@dkfz-heidelberg.de</a>&gt;</span><br>
        Date: Fri, Jul 22, 2011 at 12:07 PM<br>
        Subject: Re: [Ctk-developers] VS2010 support<br>
        To: <a href="mailto:ctk-developers@commontk.org" target="_blank">ctk-developers@commontk.org</a><br>
        <br>
        <br>
        Hi,<br>
        <br>
        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.<br>
        <br>
        Did anybody experience the same? I tried with and without the VS
        2010 SP1 and with CMake 2.8.4 and 2.8.5.<br>
        <br>
        Thanks,<br>
        <font color="#888888">
          Sascha</font>
        <div>
          <div><br>
            <br>
            On 07/22/2011 01:39 PM, Sascha Zelzer wrote:<br>
            <blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">
              Hi Folks,<br>
              <br>
              I would like to get Visual Studio 2010 compatibility for
              CTK.<br>
              <br>
              Currently, it looks like I will have to copy
              ExternalProject.cmake to<br>
              CTK for the CMAKE_CACHE_ARGS argument. Then a couple of
              small<br>
              modifications should do.<br>
              <br>
              Any other ideas or objections?<br>
              <br>
              Thanks,<br>
              <br>
              Sascha<br>
              _______________________________________________<br>
              Ctk-developers mailing list<br>
              <a href="mailto:Ctk-developers@commontk.org" target="_blank">Ctk-developers@commontk.org</a><br>
              <a href="http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers</a><br>
            </blockquote>
            <br>
            _______________________________________________<br>
            Ctk-developers mailing list<br>
            <a href="mailto:Ctk-developers@commontk.org" target="_blank">Ctk-developers@commontk.org</a><br>
            <a href="http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers</a><br>
          </div>
        </div>
      </div>
      <br>
      <br clear="all">
      <br>
      -- <br>
      +1 919 869 8849<br>
      <br>
    </blockquote>
    <br>
  </div></div></div>

<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br></blockquote></div><br>