[cmake-developers] Using the internal Code::Blocks builder

David Cole david.cole at kitware.com
Sat Sep 8 13:57:04 EDT 2012


On Sat, Sep 8, 2012 at 11:02 AM, Benjamin Eikel <cmake at eikel.org> wrote:
> Am Samstag, 8. September 2012 um 16:53:56 schrieb David Cole:
>> On Sat, Sep 8, 2012 at 6:38 AM, Peter Kümmel <syntheticpp at gmx.net> wrote:
>> > On 08.09.2012 11:51, Benjamin Eikel wrote:
>> >> Am Freitag, 7. September 2012 um 18:59:49 schrieb Bill Hoffman:
>> >>> On 9/7/2012 12:13 PM, Benjamin Eikel wrote:
>> >>>> Yes, I have seen that in the beginning when the generator did not work
>> >>>> as
>> >>>> expected. At the moment, it builds from the command line, but only if
>> >>>> you
>> >>>> give it access to a display (a window is opened by C::B, but that
>> >>>> closes immediately after the build has finished). So try-compiles
>> >>>> work, but the situation with the window is unacceptable. I have to
>> >>>> see if somebody from the C::B community is willing to help.
>> >>>
>> >>> OK, well, if that is working.  Then build cmake, and then do
>> >>> ./bin/ctest, it should run all the tests and show what you need to do.
>> >>
>> >> Doing that everything seems to be fine (complex, complexOneConfig and
>> >> CMake.CheckSourceTree fail with master branch for me, too). But I have
>> >> the feeling that the new generator is used only in very few tests. I
>> >> tried setting
>> >> CMAKE_TEST_GENERATOR to the name of the new generator and that makes
>> >> more tests fail.
>> >
>> > When you build cmake with your new generator it would be selected
>> > automatically.
>> > But it's a chicken-egg problem then.
> [... snip ...]
>>
>> How many/what percentage tests fail when you set CMAKE_TEST_GENERATOR
>> to your new generator?
>
> A lot of tests fail if I do this (> 50%). Without setting this variable, are
> all generators tested that are enabled for the current platform?
> --
>
> 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://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers


Only very minimally (there's a CMakeTestAllGenerators test that smoke
tests each generator, but does not verify that the generated projects
actually build...).

Principally, the generator that was used to build CMake is the one
that is tested with the vast majority of the tests when the test suite
is run.


HTH,
David



More information about the cmake-developers mailing list