[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] Adding a new extension to the Windows compilation order
- To: pygame-users@xxxxxxxx
- Subject: [pygame] Adding a new extension to the Windows compilation order
- From: Tyler Laing <trinioler@xxxxxxxxx>
- Date: Tue, 11 Aug 2009 13:47:44 -0700
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Tue, 11 Aug 2009 16:47:48 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=6JQnhYOkykbD2jVKT42Zex/ILQHy3y8Ey9Ry9e/h5x0=; b=LSdDe0kU+huczMmdXzGxwW8YlBO0/6R6wCGGF+n1EU1vubxne5uQsGnSMoY3v3rZoq 3pN71VFfanWqOTu7qoccue1n7Qx9w07M2n0Hazmsasq3Hf7fMaRO0AvN8VDU/Qu/x2Vx sr6j33FDrzLMe3OfRk6e1LqlAQwun/7wpHn00=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=qsvU2aQEKxZpsR8FLhjLW8py9ntrvIIvoZjrfDgKZaUBmbtYEa7EzhSfVSinkQK8Jz XzJWbE53r9HUCNIpNeqa9mZlKa3l5tdIwSEq/gyyNsKAQLsXVPZdUfbGHSu7QVGOgzHj ZeqSFJ6Zzhdv9i7aBORptfZunBPn8HGgz1dIU=
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
Exactly as the title says. How do I add a new extension to compile to the windows compilation order for pygame? I know Setup.in needs the modification, which it does. But I also know that one of the config files needs to be modified. In config_unix.py, I use:
Dependency('FFMPEG', 'libavformat/avformat.h', 'libavformat.a', ['avformat', 'swscale', 'SDL_mixer']),
and it works.
Do I modify config_win.py or config_msys.py? And what do I do to add to it? Obviously, I need to somehow tell it to target the three necessary dlls.
-Tyler
--
Visit my blog at http://oddco.ca/zeroth/zblog