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

CMake: Copied and adjusted the Aseprite CMakeLists.txt files #13

Merged
merged 6 commits into from
Jan 16, 2025

Conversation

bjorn
Copy link
Member

@bjorn bjorn commented Jan 16, 2025

This way we can configure the project much faster and avoid compiling more than necessary. For LAF, we now disable the examples, tests and clip parts.

Also mentioned the USE_SHARED_LIBPNG option. libpng is a dependency of FreeType (normally the shared libpng would be used anyway, when USE_SHARED_FREETYPE was used).

This is also a first step towards being able to package a source release using just the relevant parts of the repository (issue #12).

By only including the relevant bits, we can configure the project much
faster.

Also mentioned the USE_SHARED_LIBPNG option. libpng is a dependency of
FreeType (normally the shared libpng would be used anyway, when
USE_SHARED_FREETYPE was used).

This is a first step towards being able to package a source release
using just the relevant parts of the repository (issue mapeditor#12).
@bjorn bjorn force-pushed the cmake-subset branch 3 times, most recently from 65a962d to 9eb235b Compare January 16, 2025 12:11
bjorn added 2 commits January 16, 2025 13:13
This is possible now that we use a trimmed down CMakeLists.txt.
It reduces the archive to about 10 MB by including only the relevant
bits. It's still quite large due to shipping a bunch of third-party
libraries.
@bjorn bjorn merged commit d2f9c02 into mapeditor:master Jan 16, 2025
9 checks passed
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

Successfully merging this pull request may close these issues.

1 participant