mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-10 16:43:33 +02:00
Add (restore?) the ability to build without trashing the source tree
You may now do: mkdir build cd build ../configure ./audacity And all but one directory will remain unmolested...no more object files in "src". And if you look carefully, you'll see that the newly built "audacity" is copied to the top of the build tree...no more having to use "src/audacity" to run. You can of course still do the configure from the top and get all of the objects strewn about the tree. I still haven't figured out how to keep the locale directory from getting soiled. I'm not really sure there's a way around it really.
This commit is contained in:
6
lib-src/libsoxr/configure
vendored
6
lib-src/libsoxr/configure
vendored
@@ -10,4 +10,8 @@
|
||||
|
||||
# Autotools options should not be passed to this script.
|
||||
|
||||
cmake -DBUILD_SHARED_LIBS=OFF -DWITH_OPENMP=OFF .
|
||||
srcdir="$@"
|
||||
srcdir="${srcdir#*--srcdir=}"
|
||||
srcdir="./${srcdir/ */}"
|
||||
|
||||
cmake -DBUILD_SHARED_LIBS=OFF -DWITH_OPENMP=OFF "${srcdir}"
|
||||
|
Reference in New Issue
Block a user