Re: [AD] [4.9-newgfx] uesd.c in cmake |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On 2007-06-30, Jon Rafkind <workmin@xxxxxxxxxx> wrote:
> The scons build system compiles uesd.c to make the esd module if esd
> support is found and the cmake version does the same but the cmake
> version also lists uesd.c in the set(ALLEGRO_SRC_UNIX_FILES thing as
> well as other c files belonging to modules
>
> set(ALLEGRO_SRC_UNIX_FILES
> src/unix/alsa5.c
> src/unix/alsa9.c
> src/unix/alsamidi.c
> src/unix/arts.c
> src/unix/sgial.c
> src/unix/jack.c
> ...
> src/unix/uesd.c
> )
>
> ...
> set(ALLEGRO_MODULE_ESD_FILES^M
> src/unix/uesd.c^M
> )^M
>
> is that right?
Yes. If modules are disabled then uesd.c needs to be compiled into
the main library.
> Scons gives a warning about specifying the same file twice.
ALLEGRO_MODULE_ESD_FILES should only be used for compiling the module.
Peter