Any reason not to use CMake? I find it makes things a lot easier, especially when dealing with multiple platforms. It requires installing CMake, of course, but I think it is reasonable to expect that anyone building Pd from source can install CMake.

On 1/10/2018 12:08 PM, IOhannes m zmoelnig wrote:
On 2018-01-10 02:53, Miller Puckette wrote:
ep... the make step is decently fast.  But I almost never just remake without
for some reason having to reconfigure.
i see.

<ad>
btw, you can have multiple configurations in parallel.

e.g. the following will prepare to build Pd for linux with and without
jack and for W32 (using mingw32 for cross-compilation¹):

$ mkdir build-linux build-linuxjack build-w32
$ cd build-linux; ../configure --enable-jack; cd ..
$ cd build-linuxjack; ../configure --enable-jack; cd ..
$ cd build-w32; ../configure --host=i686-w64-mingw32; cd ..

then trigger a build for all flavours with:
~~~
$ for d in build-linux build-linuxjack build-w32; do \
  make -C "${d}" -j4; \
done
~~~
or similar.

</ad>

fgmasdr
IOhannes


¹ cross-building for W32 currently requires christof's PR#275 to
properly work.


_______________________________________________
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list