[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cmake
Subject:    Re: [CMake] CPack: Packaging debug and release configurations in a single zip
From:       Yngve Inntjore Levinsen <yngve.levinsen () gmail ! com>
Date:       2013-02-08 8:50:49
Message-ID: 5114BC69.3040006 () gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


On 7/2/13 7:54 PM, Patrick Johnmeyer wrote:
> On Thu, Feb 7, 2013 at 12:41 PM, Yngve Inntjore Levinsen 
> <yngve.levinsen@gmail.com <mailto:yngve.levinsen@gmail.com>> wrote:
>
>     I think you are fighting the tool in any case, because you are
>     asking to build multiple configurations in one build folder (?).
>     Normally you would create one build folder per configuration..
>     Which I guess is what you are doing today.
>
> No, the Visual Studio generator is not a "/single-configuration 
> generator"/. all configurations are bundled into the single generated 
> solution file. This is the standard behavior of CMake under "basic" usage.
>
> Your solution using ExternalProject looks promising, though, I will 
> try this out. Thanks!
Aha, I have mostly used the Makefile generator, and never VS, so I 
didn't know that. I agree, the externalproject trick proposed by Ansis 
sounds better. Good luck!

Cheers,
Yngve

[Attachment #5 (text/html)]

<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    <div class="moz-cite-prefix">On 7/2/13 7:54 PM, Patrick Johnmeyer
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAMM1b9RYxZxFJST7XDOGxtmJ3-x87fH9r-qo43CginQjO-d4rQ@mail.gmail.com"
      type="cite">On Thu, Feb 7, 2013 at 12:41 PM, Yngve Inntjore
      Levinsen <span dir="ltr">&lt;<a moz-do-not-send="true"
          href="mailto:yngve.levinsen@gmail.com" target="_blank">yngve.levinsen@gmail.com</a>&gt;</span>
      wrote:<br>
      <div class="gmail_quote">
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">
          <div bgcolor="#FFFFFF" text="#000000"> I think you are
            fighting the tool in any case, because you are asking to
            build multiple configurations in one build folder (?).
            Normally you would create one build folder per
            configuration.. Which I guess is what you are doing today.<br>
          </div>
        </blockquote>
        <div>&nbsp;</div>
        <div>No, the Visual Studio generator is not a "<i>single-configuration
            generator"</i>.&nbsp;all configurations are bundled into the
          single generated solution file. This is the standard behavior
          of CMake under "basic" usage.</div>
        <div><br>
        </div>
        <div>Your solution using ExternalProject looks promising,
          though, I will try this out. Thanks!</div>
      </div>
    </blockquote>
    Aha, I have mostly used the Makefile generator, and never VS, so I
    didn't know that. I agree, the externalproject trick proposed by
    Ansis sounds better. Good luck!<br>
    <br>
    Cheers,<br>
    Yngve<br>
  </body>
</html>


--

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic