Fwd: [CMake] Why does cmake 2.4.0 (beta) compile header files?

William A. Hoffman billlist at nycap.rr.com
Thu Apr 20 21:30:41 EDT 2006


Sort of funny, but the fix for the same name object file in
two directories is the source of the problem.   I have checked
in a fix.  Thanks for the report.

-Bill


At 05:43 PM 4/20/2006, Phillip Hellewell wrote:
>Oops, I forgot to send this to the whole list instead of just to Brad.
>
>Phillip
>
>---------- Forwarded message ----------
>From: Phillip Hellewell < <mailto:sshock at gmail.com>sshock at gmail.com>
>Date: Apr 20, 2006 3:43 PM
>Subject: Re: [CMake] Why does cmake 2.4.0 (beta) compile header files?
>To: Brad King <<mailto:brad.king at kitware.com> brad.king at kitware.com>
>
>On 4/20/06, Brad King <<mailto:brad.king at kitware.com> brad.king at kitware.com> wrote:
>
>Phillip Hellewell wrote:
>> Why does CMake version 2.4.0 cause VS7 to compile header files?
>>
>> ...
>
>
>I cannot duplicate this problem.  Please post a minimal example that 
>
>1.) compiles headers with cmake 2.4.0 beta
>2.) does not compile headers with cmake 2.2.3
>
>
>Ok, I attached an example.  The problem occurs when the header file is in a different directory than the source files. 
>
>Phillip
>
>
>Content-Type: application/zip; name=cmake_test.zip
>X-Attachment-Id: f_em9mds2p
>Content-Disposition: attachment; filename="cmake_test.zip"
>
>_______________________________________________
>CMake mailing list
>CMake at cmake.org
>http://www.cmake.org/mailman/listinfo/cmake 



More information about the CMake mailing list