-
Notifications
You must be signed in to change notification settings - Fork 315
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow out-of-tree builds #7
Conversation
…-enable-static when building the library
Hi Sebastien, I've played around with your contribution and here are my thoughts / experience:
So, my opinion is this change doesn't really improve anything (other than out of tree builds) but rather makes things more messy (while also requiring a relatively recent version of automake, which some users may not have). I understand that there may be some danger in our using on a partial "piece" of the autotool tool chain (basically autoconf only) but it has been working fine for many years now. Perhaps there is a way you can modify the existing Makefile.in and configure.ac to build "out of tree"? Also, note that if using the “SUBDIRS=tests” statement in Makefile.am and then you run “make maintainer-clean” after configure, you get an error because “maintainer-clean” is not a target in the tests/Makefile Regards, --gary |
I have nested RtAudio with CMake in my Lua binding without any modification or RtAudio: victor |
That's exactly the point: nesting RtAudio into another project without any modification. |
Hi Sebastien, luaRtAudio has never been build outside win32 so your build testing in linux would be important for me. victor |
OK. |
This is very old now (and has conflicts) and there didn't seem to be further interest from others, so I'm closing it. |
Here's a very simple patch allowing to do this (out of tree builds):
svn checkout svn://svn.code.sf.net/p/rtaudio/code/trunk rtaudio-code
cd rtaudio-code
mkdir build
cd build
../configure
make
make -C tests
@top_srcdir@ and @srcdir@ are predefined variables. They get replaced by autotools (make doesn't see them).