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
[EMAIL PROTECTED]
http://www.kitware.com
518-371-3971 (phone and fax)
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to