cmake - show command line for a test

Christian Ehrlicher Ch.Ehrlicher at gmx.de
Sun Feb 12 20:39:04 CET 2006


Peter Kümmel schrieb:
> Christian Ehrlicher wrote:
>> Alexander Neundorf schrieb:
>>> On Sunday 12 February 2006 18:00, Christian Ehrlicher wrote:
>>>> Hi,
>>>>
>>>> Can I somehow see the command line which is used for a test. Currently I
>>>> see only
>>>> 'Determining if files crt_externs.h exist failed with the following output:
>>>> <sourcecode>'
>>>>
>>>> When I could see the command line it would be easier to see why the test
>>>> failed...
>>>>
>>>> Christian
>>> I guess you had a look at CMakeError.log ?
>> Yes
>>> For me this contains the full information:
>> I read some time ago that these informations are somehow not available
>> with msvc (I only see the source). But I did not understand why... cmake
>> knows what it's trying to do so it can also write it to CMakeError.log,
>> can't it?
>>
>> Christian
>>
> 
> Yes, cmake automatically deletes the on the fly generated makefiles.
> 
> I suppose, you are looking for a include path?
> To see what happens I've edited the code templates of the tests,
> 
> cmake: CheckFunctionExists.c
> kdelibs/cmake/modules: CheckPrototypeExists.cmake
> 
> 
> What do you attempt to do, maybe I could help.
for example getaddrinfo isn't found - don't know why. Simply look into
CMakeErro.log and you'll see that some functions aren't found which
normally are available on windows.

Christian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
Url : http://mail.kde.org/pipermail/kde-buildsystem/attachments/20060212/34ced84b/attachment.pgp 


More information about the Kde-buildsystem mailing list