Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Packaging bug #6

Open
Barthelemy opened this issue May 22, 2016 · 2 comments
Open

Packaging bug #6

Barthelemy opened this issue May 22, 2016 · 2 comments

Comments

@Barthelemy
Copy link
Owner

make package produces a deb file only for ProjB not ProjA (when run from top dir).

@Barthelemy
Copy link
Owner Author

More difficult than expected. CPack does not seem to handle well the fact of building several (sub-)projects.

@kswaldemar
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants