[SCONS] Optimisation flags for msvc
This commit is contained in:
Vendored
+2
@@ -8,6 +8,8 @@ Import ('defines')
|
||||
Import ('user_options_dict')
|
||||
if sys.platform=='linux2' or sys.platform=='linux-i386':
|
||||
qhull_env.Append (CCFLAGS = ['-O2', '-ansi'])
|
||||
elif sys.platform=='win32':
|
||||
qhull_env.Append (CCFLAGS = ['/O2'])
|
||||
elif sys.platform=='sunos':
|
||||
qhull_env.Append (CCFLAGS = ['Xc', '-v', '-fast'])
|
||||
else:
|
||||
|
||||
Vendored
+3
-2
@@ -11,8 +11,9 @@ cflags = []
|
||||
cxxflags = []
|
||||
|
||||
if sys.platform=='win32':
|
||||
defines += ['WIN32','NDEBUG', '_WINDOWS', '_LIB']
|
||||
cflags += ['/MT', '/W3', '/GX', '/O2']
|
||||
defines += ['WIN32','NDEBUG', '_WINDOWS', '_LIB']
|
||||
#cflags += ['/MT', '/W3', '/GX', '/O2', '/Op']
|
||||
cflags += ['/MT', '/W3', '/GX', '/Og', '/Ot', '/Ob1', '/Op', '/G6']
|
||||
elif sys.platform=='linux2' or sys.platform=='linux-i386':
|
||||
defines += ['NDEBUG']
|
||||
cflags += ['-O2']
|
||||
|
||||
Reference in New Issue
Block a user