[cmake-developers] CPack API redesign

Eric Noulard eric.noulard at gmail.com
Wed Aug 11 18:04:55 EDT 2010


2010/8/11 David Cole <david.cole at kitware.com>:
> On Wed, Aug 11, 2010 at 5:32 PM, Eric Noulard <eric.noulard at gmail.com>
> wrote:
>>
>> 2010/8/11 Brad King <brad.king at kitware.com>:
>> > On 08/11/2010 02:43 PM, Eric Noulard wrote:
>> >> 2010/8/11 Brad King <brad.king at kitware.com>:
>> >>> I rebased/squashed the commits into a single change and merged
>> >>> the topic to next:
>> >>>
>> >>>  http://cmake.org/gitweb?p=cmake.git;a=log;h=299f3246
>> >>
>> >> Just nice, thanks.
>> >
>> > FYI, I had to merge in a couple of warning fixes:
>> >
>> >  http://cmake.org/gitweb?p=cmake.git;a=log;h=632c2659
>> >  http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=31a313d4
>>
>> Noted, thank you for fixing my mistakes :-)
>>
>> However,
>>
>> I usually take care of warnings (some of them may be harmful)
>> so I'm pretty I didn't have those.
>>
>> Did you get those warnings with MSVC or did any version  of gcc
>> provide the same warnings ?
>
> The warnings Brad fixed showed up on the Continuous dashboard for CMake
> here:
> http://www.cdash.org/CDash/index.php?project=CMake&date=2010-08-11#Continuous
> The flags used on that machine (older gcc running on Mac OSX 10.3 believe it
> or not) are:
>
> CMAKE_CXX_FLAGS:STRING=-g -O0 -Wall -W -Wshadow -Wunused-variable
> -Wunused-parameter -Wunused-function -Wunused -Wno-system-headers
> -Wno-deprecated -Woverloaded-virtual
> CMAKE_C_FLAGS:STRING=-g -O0 -Wall -W

It explains a lot

mine (default configuration of CMake source) were:
CMAKE_CXX_FLAGS:STRING=
CMAKE_C_FLAGS:STRING=

Is there a reason why those flags are not the default when building with gcc ?

Secondary question is:

  - I am subscribed (all e-mail category) to the CMake dashboard but
didn't received any mail?
  - my e-mail preference says: "Email me when my checkins are breaking
the dashboard"

The commit that broke the build was mine:
http://cmake.org/gitweb?p=cmake.git;a=commit;h=cd7b8a03f5403603da44432470f177601b5bf42b
but the commiter was Brad.

Is this the reason I did not receive the mail myself?

If yes, would it be possible to have an option to send an e-mail to
both the commiter AND the author?

>> Another gitish question:
>>
>> When you want to develop something that is only in next (and not in
>> master)
>> is it acceptable to branch from next and then merge to next
>> or is there a better git workflow ?
>>
>
> We branch from the commit that was merged into next, not next itself, to
> continue work that was begun based on master but is not merged back into
> master yet.
> So... find the commit that Brad made that fixed the warnings, which I think
> is this one:
> http://cmake.org/gitweb?p=cmake.git;a=commit;h=31a313d47043923bc722554175912e75a03a13f6
> And then begin a new branch from there:
> git checkout -b CPack-APIredesign 31a313d4

I yes, I didn't even thought it was possible to branch from
a particular commit, too simple.

> If you already have a local branch with that name, I'm sure there's a way to
> just pull those commits into that pre-existing branch, too. But you'll have
> to wait for Brad to reply for that one.

No that's ok nothing local on this path.

-- 
Erk
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org



More information about the cmake-developers mailing list