mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2025-01-10 12:01:10 +00:00
fixed osx_setup error in SConstruct
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@10 8a3a26a2-13c4-0310-b231-cf6edde360e5
This commit is contained in:
parent
e483272c36
commit
98a12d18d7
1 changed files with 0 additions and 10 deletions
10
SConstruct
10
SConstruct
|
@ -3,7 +3,6 @@
|
||||||
|
|
||||||
import commands, re, sys, os, pickle, string, popen2
|
import commands, re, sys, os, pickle, string, popen2
|
||||||
from makeversion import radiant_makeversion, get_version
|
from makeversion import radiant_makeversion, get_version
|
||||||
from osx_setup import do_osx_setup
|
|
||||||
|
|
||||||
# to access some internal stuff
|
# to access some internal stuff
|
||||||
import SCons
|
import SCons
|
||||||
|
@ -38,10 +37,6 @@ JOBS
|
||||||
BUILD
|
BUILD
|
||||||
Use debug/release to select build settings
|
Use debug/release to select build settings
|
||||||
ex: BUILD="release" - default is debug
|
ex: BUILD="release" - default is debug
|
||||||
OSX: use BUILD="info" to generate the set of release files
|
|
||||||
|
|
||||||
SETUP
|
|
||||||
Build a setup - default 0
|
|
||||||
"""
|
"""
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -181,11 +176,6 @@ if (BUILD == 'debug'):
|
||||||
elif (BUILD == 'release'):
|
elif (BUILD == 'release'):
|
||||||
CXXFLAGS += '-O2 '
|
CXXFLAGS += '-O2 '
|
||||||
CCFLAGS += '-O2 '
|
CCFLAGS += '-O2 '
|
||||||
elif ( BUILD == 'info' ):
|
|
||||||
print 'Preparing OSX release'
|
|
||||||
( line, major, minor ) = get_version()
|
|
||||||
do_osx_setup( major, minor, 'osx-radiant-%s.run' % line )
|
|
||||||
sys.exit( 0 )
|
|
||||||
else:
|
else:
|
||||||
print 'Unknown build configuration ' + BUILD
|
print 'Unknown build configuration ' + BUILD
|
||||||
sys.exit( 0 )
|
sys.exit( 0 )
|
||||||
|
|
Loading…
Reference in a new issue