最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Is there a CMake variable to check if building was necessary or there we no changes? - Stack Overflow

programmeradmin0浏览0评论

Specifically I want to run a command before and after compilation. I managed to do that with a custom target my project depends on and a add_custom_command(TARGET project POST_BUILD ...) for the second call. However if there is nothing to build, that POST_BUILD command isn't triggered - which is something I need to catch. Any way to do that?

发布评论

评论列表(0)

  1. 暂无评论