On Dec 19, 2007 12:35 PM, Bill Hoffman <[EMAIL PROTECTED]> wrote: > Clark J. Wang wrote: > > Anybody has any idea? > > > > On Dec 11, 2007 5:07 PM, Clark J. Wang <[EMAIL PROTECTED] > > <mailto:[EMAIL PROTECTED]>> wrote: > > > > I > > This is fine for `sys/event.h' is not available on my system. But > > when I run `cmake --debug-trycompile .' it outputed like this: > > > > > > This time it said that `sys/event.h' was found! Anything wrong? > > > > I am not surprised. The debug-try compile option does not clean out the > build tree. It is meant as a debugging tool only. It should not be > expected to work. Usually, if there is trouble with the result of a try > compile, you set it up so that only that one try compile will happen and > run with debug-trycompile. Then cmake will leave the build/source files > in the temp directory, so you can try it by hand, and examine the results. >
Debugging options are used for debugging, that's right. But I don't agree that CMake can give wrong results when run in debug mode. Take the `--debug-trycompile' option for example, CMake can leave separate build/source files with different filenames in the temp directory for each call of TRY_COMPILE. > > -Bill >
_______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
