[CMake] try_compile: more verbose format wanted

Steven Van Ingelgem steven at vaningelgem.be
Mon Jul 14 10:10:45 EDT 2008


There was no error generated because there was no real error ;-). Please see
my second mail, in that one I investigated it a little more.


2008/7/14 Bill Hoffman <bill.hoffman at kitware.com>:

> Steven Van Ingelgem wrote:
>
>> Hi all,
>>
>>
>> I am trying to convert "datadraw" into a CMake project, but I'm running
>> against this problem:
>>
>>
>> C:\TEMP\datadraw>cmake . -G "MinGW Makefiles"
>> -- Building datadraw...
>> CMake Error at cmake/prebuilt.cmake:41 (MESSAGE):
>>  datadraw failed to build.  This is a needed file for the database
>>  precompilation!
>> Call Stack (most recent call first):
>>  CMakeLists.txt:55 (INCLUDE)
>>
>>
>> This output is very small, and I cannot find any reason why it would be
>> failing (because when I run the same command in the "src" directory, it's
>> building fine).
>>
>>
>> The command which is building datadraw is:
>>  TRY_COMPILE(
>>      DATADRAW_OK
>>      ${PROJECT_SOURCE_DIR}/${CMAKE_FILES_DIRECTORY}/CMakeTmp
>>      ${PROJECT_SOURCE_DIR}/src
>>      datadraw
>>  )
>>
>>
>>  See CMakeError.log that was generated during the try compile.
>
> -Bill
>
> --
> Bill Hoffman
> Kitware, Inc.
> 28 Corporate Drive
> Clifton Park, NY 12065
> bill.hoffman at kitware.com
> http://www.kitware.com
> 518-371-3971 (phone and fax)
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20080714/695b0346/attachment.htm>


More information about the CMake mailing list