[CMake] Re: Bug with cmake's `--debug-trycompile' option?

2007-12-18 Thread Clark J. Wang
Anybody has any idea? On Dec 11, 2007 5:07 PM, Clark J. Wang <[EMAIL PROTECTED]> wrote: > I have a CMakeLists.txt like this: > > PROJECT(foo) > > SET(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS TRUE) > > INCLUDE(CheckIncludeFile) > > CHECK_INCLUDE_FILE(poll.h VAR1) > CHECK_INCLUDE_FILE(sys/event.h VAR2) >

Re: [CMake] Re: Bug with cmake's `--debug-trycompile' option?

2007-12-18 Thread Bill Hoffman
Clark J. Wang wrote: Anybody has any idea? On Dec 11, 2007 5:07 PM, Clark J. Wang <[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 tim

Re: [CMake] Re: Bug with cmake's `--debug-trycompile' option?

2007-12-19 Thread Clark J. Wang
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] > > > wrote: > > > > I > > This is fine for `sys/event.h' is not available on my sy

Re: [CMake] Re: Bug with cmake's `--debug-trycompile' option?

2007-12-20 Thread Bill Hoffman
Clark J. Wang wrote: 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 director