the world is not ready for MSVS projects :(

This commit is contained in:
James Turk 2005-08-18 02:23:47 +00:00
parent c7dd7f80a2
commit 46daa43cdb

View File

@ -5,7 +5,7 @@
# James Turk (jpt2433@rit.edu) # James Turk (jpt2433@rit.edu)
# #
# Version: # Version:
# $Id: SConstruct,v 1.22 2005/08/16 06:32:39 cozman Exp $ # $Id: SConstruct,v 1.23 2005/08/18 02:23:47 cozman Exp $
import os,os.path import os,os.path
import glob import glob
@ -53,7 +53,7 @@ def BuildSuperHeader(target = None, source = None, env = None):
SuperHeaderAction = Action(BuildSuperHeader) SuperHeaderAction = Action(BuildSuperHeader)
# Configure the environment # Configure the environment
env = Environment(ENV = os.environ, MSVS_VERSION = 7.0) env = Environment(ENV = os.environ)
env.Append(CPPPATH='include', CPPFLAGS=['-Wall', '-fmessage-length=0']) env.Append(CPPPATH='include', CPPFLAGS=['-Wall', '-fmessage-length=0'])
env.ParseConfig('freetype-config --cflags') env.ParseConfig('freetype-config --cflags')
# Configure (Check Libraries) # Configure (Check Libraries)
@ -108,8 +108,8 @@ for test_src in test_srcs:
env.Alias('tests',tests) env.Alias('tests',tests)
# Visual C++ Projects # Visual C++ Projects
if(os.name == 'nt'): #if(os.name == 'nt'):
msvc = env.MSVSProject(target = 'msvc/photon' + env['MSVSPROJECTSUFFIX'], # msvc = env.MSVSProject(target = 'msvc/photon' + env['MSVSPROJECTSUFFIX'],
srcs = getFilesMulti(SRC_DIRS, '*.cpp'), incs = INC_FILES, # srcs = getFilesMulti(SRC_DIRS, '*.cpp'), incs = INC_FILES,
buildtarget = lib, variant = 'Release') # buildtarget = lib, variant = 'Release')
env.Alias('msvc',msvc) # env.Alias('msvc',msvc)