cmake-precompiled-header icon indicating copy to clipboard operation
cmake-precompiled-header copied to clipboard

The GNUCXX custom_command copy DEPENDENCY doesn't track headers included by the pch

Open LucidFusionLabs opened this issue 8 years ago • 1 comments

Adding "IMPLICIT_DEPENDS CXX ${_pch_header}" in addition to "DEPENDS ${_pch_header}" fixed it for me. https://github.com/LucidFusionLabs/cmake-precompiled-header/commit/27eda54069418de6ed1b72d5ed0419c8a7b16d04 is the fork I'm using. Thanks!

LucidFusionLabs avatar Apr 01 '16 23:04 LucidFusionLabs

This. SO MUCH THIS.

onqtam avatar Apr 11 '19 10:04 onqtam