Re: [CMake] Documentation bug(?) in CheckC(XX)SourceCompiles

2009-03-07 Thread Michael Wild
On 6. Mar, 2009, at 16:44, Bill Hoffman wrote: Marcel Loose wrote: After further inspection, I think my observation holds true for all Check*.cmake files in the Modules directory, not just the CheckC(XX)SourceCompiles files. It is a cache variable so that the test is not run over and over

[CMake] Documentation bug(?) in CheckC(XX)SourceCompiles

2009-03-06 Thread Marcel Loose
Hi, I found out the hard way -- and after inspecting the macro definition of CheckCSourceCompiles and CheckCXXSourceCompiles -- that the second argument (VAR) is a cache variable. I think the documentation should be clearer about that. Best regards, Marcel Loose.

Re: [CMake] Documentation bug(?) in CheckC(XX)SourceCompiles

2009-03-06 Thread Michael Wild
On 6. Mar, 2009, at 14:13, Marcel Loose wrote: Hi, I found out the hard way -- and after inspecting the macro definition of CheckCSourceCompiles and CheckCXXSourceCompiles -- that the second argument (VAR) is a cache variable. I think the documentation should be clearer about that.

Re: [CMake] Documentation bug(?) in CheckC(XX)SourceCompiles

2009-03-06 Thread Marcel Loose
After further inspection, I think my observation holds true for all Check*.cmake files in the Modules directory, not just the CheckC(XX)SourceCompiles files. Marcel Loose On Fri, 2009-03-06 at 16:04 +0100, Michael Wild wrote: On 6. Mar, 2009, at 14:13, Marcel Loose wrote: Hi, I found

Re: [CMake] Documentation bug(?) in CheckC(XX)SourceCompiles

2009-03-06 Thread Bill Hoffman
Marcel Loose wrote: After further inspection, I think my observation holds true for all Check*.cmake files in the Modules directory, not just the CheckC(XX)SourceCompiles files. It is a cache variable so that the test is not run over and over each time CMake is run. unset is in cmake 2.6.3.