How to skip dependency on all for package target?

安稳与你 提交于 2019-12-24 06:52:09

问题


I have a project with few separate build targets, which are exclusive - but they're built from the same sources, just in other configurations, targets etc. I need the install and package targets to be independent from all target, which is a default. For the install target there's a CMAKE_SKIP_INSTALL_ALL_DEPENDENCY variable, which works very well and do what I need. How to turn the dependency from all for CPack's output off, too?


回答1:


You answered the question more or less yourself: CMAKE_SKIP_PACKAGE_ALL_DEPENDENCY is available



来源:https://stackoverflow.com/questions/43609677/how-to-skip-dependency-on-all-for-package-target

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!