[CMake] Is this expected behavior?

Chris Johnson cxjohnson at gmail.com
Tue Dec 9 09:45:07 EST 2014


Well of course it had to not be all that simple.  My first attempt to
create a simple (2 header files in library) example failed to fail in the
same way as my much more complex real-life project.  :-p

I will continue to try to whittle down the real problem to the smallest
possible set, but it may take a while.

..chris

On Mon, Dec 8, 2014 at 8:06 PM, Bill Hoffman <bill.hoffman at kitware.com>
wrote:

> On 12/8/2014 1:53 PM, Chris Johnson wrote:
>
>> When I change a header file for a library, and then do a "make" in the
>> build directory, only source (C++) files which directly include that
>> header get rebuilt, but those which use it indirectly do not.  But when
>> I link to the library, the other files do get rebuilt.
>>
> This should work.  If you can create a complete example in a tar file that
> shows this issue, I can take a look at it.
>
>
> -Bill
>
> --
>
> Powered by www.kitware.com
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Kitware offers various services to support the CMake community. For more
> information on each offering, please visit:
>
> CMake Support: http://cmake.org/cmake/help/support.html
> CMake Consulting: http://cmake.org/cmake/help/consulting.html
> CMake Training Courses: http://cmake.org/cmake/help/training.html
>
> Visit other Kitware open-source projects at http://www.kitware.com/
> opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/cmake
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20141209/a49909a9/attachment.html>


More information about the CMake mailing list