CodeCompass icon indicating copy to clipboard operation
CodeCompass copied to clipboard

[CMake] Properly fix handling of plugin JSes in install

Open whisperity opened this issue 5 years ago • 1 comments

Follow-up from #431.

Instead of running the GLOB right when the webgui CMake is called, the whole thing should only be called right before the install target is executed. It should be ensured that the core parts of CodeCompass are all loaded and configured before plugins' directories are handled.

whisperity avatar Aug 19 '20 13:08 whisperity

Side note: I found that Neovim's build system (albeit convoluted because it's make calling cmake calling make...) handles re-running the generation when GLOB patterns are rebuilt, using standard CMake features:

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.

--- GLOB mismatch!

whisperity avatar Jun 13 '22 13:06 whisperity