[CMake] dependencies on system include files
David Blaikie
dblaikie at gmail.com
Mon Dec 17 10:37:09 EST 2018
If you're willing to run a different command or flag when rebuilding after
upgrading system libraries, I would guess the thing to do would be to do a
clean and rebuild, perhaps?
On Sun, Dec 16, 2018, 4:24 PM Kris Thielemans <kris.f.thielemans at gmail.com
wrote:
> Hi all
>
>
>
> I’ve just had a problem caused by an upgrade of my system files (in this
> particular case: boost). Rebuilding our software didn’t correctly rebuild
> those files that depend on the updated boost files. (I’m using CMake 3.9
> with make on Ubuntu 16.04)
>
>
>
> Checking a bit more carefully it appears that the system .h files are not
> included in depend.make. I guess this is done to save some time checking
> all those dependencies as system files are supposed to be relatively
> stable, but if they’re not, it creates trouble of course.
>
>
>
> Is there any way to change this behaviour? (ideally something like for one
> time only, check if dependent system include files are more recent then
> what was compiled, but that’s a stretch of course).
>
>
>
> Thanks
>
>
>
> Kris
>
>
>
>
>
>
> --
>
> 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:
> https://cmake.org/mailman/listinfo/cmake
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cmake.org/pipermail/cmake/attachments/20181217/a125b8de/attachment.html>
More information about the CMake
mailing list