How to skip dependency on all for package target?

2019-07-30 16:19发布

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?

标签: cmake cpack
1条回答
不美不萌又怎样
2楼-- · 2019-07-30 17:17

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

查看更多
登录 后发表回答