1
0
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:
lllucius@gmail.com
2014-10-27 07:34:17 +00:00
parent 2abb46b83d
commit c6ffa89d23
31 changed files with 1586 additions and 1208 deletions

View File

@@ -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}"