canonical / craft-parts

https://canonical-craft-parts.readthedocs-hosted.com
GNU Lesser General Public License v3.0
11 stars 36 forks source link

Add default building behavior to the documentation #855

Open dariuszd21 opened 3 weeks ago

dariuszd21 commented 3 weeks ago

What needs to get done

Update cmake documentation with the information about the possibility of changing the build type to release with an example. It should encourage user to change it for the packaged application, so the resulting binary is more optimized and does not have an unnecessary debug information

As a bonus point we may look into other plugins like rust and add it there as well.

Why it needs to get done

User may not be aware, that the build system is building libraries and applications in Debug mode by default. We should clearly state in the documentation that this is a case, and add and information about possibility of changing that.

syncronize-issues-to-jira[bot] commented 3 weeks ago

Thank you for reporting us your feedback!

The internal ticket has been created: https://warthogs.atlassian.net/browse/CRAFT-3456.

This message was autogenerated