[flext] Building individual externs from command line
Jamie Bullock
jamie at jamiebullock.com
Fri Apr 11 15:10:11 UTC 2014
Hi Matthias,
That Makefile looks pretty useful, thanks for sharing.
I just went for the quick n dirty approach: https://github.com/cmuartfab/ml-lib/blob/develop/build-flext-individual.sh
Since this project needs to scale I will probably switch to something along the lines of your Makefile next time I visit the build system.
best,
Jamie
On 11 Apr 2014, at 15:25, Matthias Geier <matthias.geier at gmail.com> wrote:
> 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