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
  )



Greetings & thanks.
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to