mirror of
https://github.com/cookiengineer/audacity
synced 2025-04-30 15:49:41 +02:00
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.
18 lines
552 B
Bash
Executable File
18 lines
552 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# SoX Resampler Library Copyright (c) 2007-12 robs@users.sourceforge.net
|
|
# Licence for this file: LGPL v2.1 See LICENCE for details.
|
|
|
|
# Wrapper to allow easier integration with projects using autotools.
|
|
|
|
# Such projects will probably be using static libs so should pass
|
|
# -DBUILD_SHARED_LIBS=OFF amongst any other options needed.
|
|
|
|
# Autotools options should not be passed to this script.
|
|
|
|
srcdir="$@"
|
|
srcdir="${srcdir#*--srcdir=}"
|
|
srcdir="./${srcdir/ */}"
|
|
|
|
cmake -DBUILD_SHARED_LIBS=OFF -DWITH_OPENMP=OFF "${srcdir}"
|