mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-05 21:25:46 +01:00
more details for VST support
git-svn-id: svn://localhost/ardour2/trunk@630 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
912da52a53
commit
4d3e06f29d
9 changed files with 1230 additions and 0 deletions
16
SConstruct
16
SConstruct
|
|
@ -8,6 +8,7 @@ import glob
|
|||
import errno
|
||||
import time
|
||||
import platform
|
||||
import string
|
||||
from sets import Set
|
||||
import SCons.Node.FS
|
||||
|
||||
|
|
@ -345,6 +346,21 @@ tarball_bld = Builder (action = tarballer,
|
|||
env.Append (BUILDERS = {'Distribute' : dist_bld})
|
||||
env.Append (BUILDERS = {'Tarball' : tarball_bld})
|
||||
|
||||
#
|
||||
# Make sure they know what they are doing
|
||||
#
|
||||
|
||||
if env['VST']:
|
||||
sys.stdout.write ("Are you building Ardour for personal use (rather than distributiont to others)? [no]: ")
|
||||
answer = sys.stdin.readline ()
|
||||
answer = string.strip (string.rstrip (answer));
|
||||
if answer != "yes" and answer != "y":
|
||||
print 'You cannot build Ardour with VST support for distribution to others.\nIt is a violation of several different licenses. VST support disabled.'
|
||||
env['VST'] = 0;
|
||||
else:
|
||||
print "OK, VST support will be enabled"
|
||||
|
||||
|
||||
# ----------------------------------------------------------------------
|
||||
# Construction environment setup
|
||||
# ----------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue