Skip to content
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

build puts binary into source-directory #25

Open
umlaeute opened this issue Sep 20, 2019 · 0 comments
Open

build puts binary into source-directory #25

umlaeute opened this issue Sep 20, 2019 · 0 comments

Comments

@umlaeute
Copy link
Contributor

umlaeute commented Sep 20, 2019

Following the build/README instructions, to build FaustLive:

cd Build
mkdir flbuild
cd flbuild
qmake ..
make

i don't see any generated binaries in the Build/flbuild/ directory.

Instead, all built-artifacts (currently only the FaustLive binary itself) are put into Build/FaustLive/.

This is bad, as it doesn't satisfy the out-of-tree build expectations, namely:

  • to be able to build from a read-only source-directory (without having to copy the sources to a writable directory)
  • to be able to build multiple flavours at the same time (withouth having to duplicate the sources)

afaict, the solution is simply to change the DESTDIR line in Build/FaustLive.pro (removing the $$PWD) to:

DESTDIR  = FaustLive

This allows me to do things like:

$ for q in 4 5
do
    mkdir /tmp/faustlive-qt${q}
    cd /tmp/faustlive-qt${q}
    QT_SELECT=${q} qmake /media/cdrom/FaustLive-2.5.2/Build && make -j8
done
$

and have a QT4 version in /tmp/faustlive-qt4/FaustLive/FaustLive and a QT5 version in /tmp/faustlive-qt5/FaustLive/FaustLive

umlaeute added a commit to umlaeute/faustlive that referenced this issue Sep 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant