[flext] Building individual externs from command line

Matthias Geier matthias.geier at gmail.com
Fri Apr 11 14:25:27 UTC 2014


Hi Jamie, hi Thomas, hi list.

I wanted to do a similar thing recently and because I didn't find
anything better I hacked together a Makefile:

https://github.com/SoundScapeRenderer/ssr/blob/55f8c3239a43fc971cb26a00e7e8b7b4ac95d27b/flext/Makefile

This way I can compile several externals in one "make" call which all
use the same package.txt.

But it's quite ugly and not very flexible and I hope there is a better solution!

@Thomas: my externals all use the same source files (except one) and
only differ in the NAME variable, therefore it seems tedious to
provide an individual package.txt for each, is there a better way?

cheers,
Matthias

On Fri, Apr 11, 2014 at 11:44 AM, Thomas Grill <gr at grrrr.org> wrote:
> Hi,
> using the flext build system, the variable PKGINFO (default set to package.txt) could be pointed to some other file.
> gr~~~
>
> Am 11.04.2014 um 11:38 schrieb Jamie Bullock <jamie at jamiebullock.com>:
>
>>
>> Hi,
>>
>> It's quite straightforward to set Xcode up so that externals can be built as a library or individual externs.
>>
>> I see xsample uses this pattern, for example.
>>
>> Is there a neat way to do this using the command-line build system?
>>
>> I guess a clunky way would be to have multiple "package" files and then copy each one to "package.txt" before calling "build.sh" in a kind of master build script.
>>
>> Better way?
>>
>> Jamie
>> _______________________________________________
>> http://grrrr.org/ext/flext
>>
>> flext mailing list
>> flext at grrrr.org
>> http://grrrr.org/cgi-bin/mailman/listinfo/flext
>
>
> _______________________________________________
> http://grrrr.org/ext/flext
>
> flext mailing list
> flext at grrrr.org
> http://grrrr.org/cgi-bin/mailman/listinfo/flext


More information about the flext mailing list