[CMake] try_compile: more verbose format wanted
Bill Hoffman
bill.hoffman at kitware.com
Mon Jul 14 09:56:06 EDT 2008
Steven Van Ingelgem wrote:
> I investigated this a little more and I think this is a bug in CMake:
>
> [ 21%] [BISON][dvParse] Building parser with bison 2.1
> cd C:\TEMP\datadraw\src && "C:\Program Files\GnuWin32\bin\bison.exe" -l
> -d -p dv -b dv -d -o dvparse.c dvparse.y
>
> *==> this is ok*
>
> "C:\Program Files\CMake 2.7\bin\cmake.exe" -E cmake_progress_report
> C:\TEMP\datadraw\CMakeFiles\CMakeTmp\CMakeFiles 1
> [ 23%] Building C object CMakeFiles/datadraw.dir/dvparse.obj
> C:\MinGW\bin\gcc.exe -IC:\TEMP\datadraw\src\..
> -IC:\TEMP\datadraw\src\..\util -o CMakeFiles\datadraw.dir\dvparse.obj
> -c C:\TEMP\datadraw\CMakeFiles\CMakeTmp\dvparse.c
> gcc.exe: C:\TEMP\datadraw\CMakeFiles\CMakeTmp\dvparse.c: No such file or
> directory
>
> *==> this is not*
>
> Why would it want to take "CMakeTmp\dvparse.c"?
>
>
Instead of confusing things with trycompile. Does this try-compile
project compile if you run cmake by hand on it?
-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)
More information about the CMake
mailing list