Cmake の CONFIGURE_DEPENDS が2021年05月19日 11時39分26秒

前回 の CMake のコマンドの修正。GLOBの展開を行うコマンドは GLOB_RECURSE ではなく CONFIGURE_DEPENDS だった。

以下、引用。 New in version 3.12: If the CONFIGURE_DEPENDS flag is specified, CMake will add logic to the main build system check target to rerun the flagged GLOB commands at build time. If any of the outputs change, CMake will regenerate the build system.

前回