Re: [AD] support for mod files |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: "Coordination of admins/developers of the game programming library Allegro" <alleg-developers@xxxxxxxxxx>
- Subject: Re: [AD] support for mod files
- From: Matthew Leverton <meffer@xxxxxxxxxx>
- Date: Mon, 5 Apr 2010 12:22:22 -0500
>No, it's all compile-time. addons/image/iio.c has #ifdefs for PNG and
>JPEG. So if you disable them they don't get compiled in and they don't
>get linked in.
>
Right, but on Windows, building Allegro is not very fun. Installing
cmake, hunting down the libraries, building them with the proper CRTs,
and making sure they are named just right just for Allegro is going to
turn a lot of people away. As such, most people will simply use the
pre-built version.
Pre-built versions will of course include all features. So if somebody
loads any type of image, even a BMP file, iio.c will mention
al_load_png and al_load_jpg which brings in PNG and JPEG, and all of a
sudden, their simple program now depends on five DLLs.