You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, It seems that CPack does not support creating several packages in one cmake project.
But we can workaround it with manually call cpack on different project config files like cpack --config /path/to/config/file.
I just forked your project and modify CPackConfig.cmake in each subproject to write in it's own cpack config. I also created special targets packageProjA and packageProjB with custom cpack calls.
So after creating custom target packages, which depends on those ones we can create two packages with one command make packages.
Tell me your opinion about that approach, it works, but I don't think it is good enough to do pull request.
make package
produces a deb file only for ProjB not ProjA (when run from top dir).The text was updated successfully, but these errors were encountered: