- [win32] updated SConscripts to use new configuration method (config.opts).
authorNathan Letwory <nathan@letworyinteractive.com>
Sat, 21 Feb 2004 19:00:31 +0000 (19:00 +0000)
committerNathan Letwory <nathan@letworyinteractive.com>
Sat, 21 Feb 2004 19:00:31 +0000 (19:00 +0000)
  NOTE: ODE support needs still to be reviewed, so disable gameengine for now.

source/blender/avi/SConscript
source/blender/deflate/SConscript
source/blender/ftfont/SConscript
source/blender/imbuf/SConscript
source/blender/inflate/SConscript
source/blender/readstreamglue/SConscript
source/blender/writeblenfile/SConscript
source/blender/writestreamglue/SConscript
source/gameengine/Physics/BlOde/SConscript

index 8548178606c425a1a0f94758f77dd9e8472b6548..752b647bc8880131e20f0fb133973936b8a1c7b0 100644 (file)
@@ -21,5 +21,6 @@ source_files = ['intern/avi.c',
 avi_env.Append (CPPPATH = ['.',
                            '#/intern/guardedalloc'])
 
+avi_env.Append (CPPPATH=user_options_dict['JPEG_INCLUDE'])
 avi_env.Append (CPPPATH=extra_includes)
 avi_env.Library (target='#'+user_options_dict['BUILD_DIR']+'/lib/blender_avi', source=source_files)
index 190e4ed416bc87583f1f9f8da7c47b3c74f1c2b5..06604f846ff7f934e51cd34aaebed306898f6c30 100644 (file)
@@ -18,5 +18,6 @@ deflate_env.Append (CPPPATH = ['.',
                                '../readstreamglue',
                                '../inflate'])
 
+deflate_env.Append (CPPPATH=user_options_dict['Z_INCLUDE'])
 deflate_env.Append (CPPPATH=extra_includes)
 deflate_env.Library (target='#'+user_options_dict['BUILD_DIR']+'/lib/blender_deflate', source=source_files)
index abd5933e815132ce8f4aae0507a399e11430d710..3cde8d6346ba5e0952dc57ca3d19742c0450892c 100644 (file)
@@ -16,7 +16,9 @@ include_paths = ['.',
 ftf_env = Environment()
 ftf_env.Append(CPPPATH = extra_includes)
 ftf_env.Append(CPPPATH = include_paths)
+ftf_env.Prepend (CPPPATH = user_options_dict['FTGL_INCLUDE'])
 ftf_env.Prepend (CPPPATH = user_options_dict['FREETYPE_INCLUDE'])
+ftf_env.Prepend (CPPPATH = user_options_dict['GETTEXT_INCLUDE'])
 ftf_env.Append(CCFLAGS = cflags)
 ftf_env.Append(CXXFLAGS = cxxflags)
 ftf_env.Append(CPPDEFINES = defines)
index d67b80c5b8a2f14b87ccb09ca4e1127f4a183da6..d3387380ecc1335f8213b1f246f33df38decc753 100644 (file)
@@ -46,5 +46,8 @@ imbuf_env.Append (CPPPATH = ['.',
                              '../quicktime',
                              '../blenkernel'])
 
+imbuf_env.Append (CPPPATH = user_options_dict['JPEG_INCLUDE'])
+imbuf_env.Append (CPPPATH = user_options_dict['PNG_INCLUDE'])
+imbuf_env.Append (CPPPATH = user_options_dict['Z_INCLUDE'])
 imbuf_env.Append (CPPPATH = extra_includes)
 imbuf_env.Library (target='#'+user_options_dict['BUILD_DIR']+'/lib/blender_imbuf', source=source_files)
index 65bb8586799ad59fdefb015c1f29f1d024385d4c..cca725d13e7e8b84f5c37f30a506b6ade09cdc04 100644 (file)
@@ -17,5 +17,6 @@ inflate_env.Append (CPPPATH = ['.',
                                '../../kernel/gen_messaging',
                                '../readstreamglue'])
 
+inflate_env.Append (CPPPATH = user_options_dict['Z_INCLUDE'])
 inflate_env.Append (CPPPATH = extra_includes)
 inflate_env.Library (target='#'+user_options_dict['BUILD_DIR']+'/lib/blender_inflate', source=source_files)
index 3c96bcca9b0b63490ff3703c5874f8d08095bcfb..a77806da21ef0e8ec5fcd2efa13582d6fb4c3c5f 100644 (file)
@@ -18,5 +18,6 @@ readstrgl_env.Append (CPPPATH = ['.',
                                  '../blenloader',
                                  '../inflate'])
 
+readstrgl_env.Append (CPPPATH = user_options_dict['Z_INCLUDE'])
 readstrgl_env.Append (CPPPATH = extra_includes)
 readstrgl_env.Library (target='#'+user_options_dict['BUILD_DIR']+'/lib/blender_readstreamglue', source=source_files)
index 48a1cba4949a81457574f37280ec1b943f6c0482..6a30c7df3aad4c670eeec4fcd5d5202ecae66ab4 100644 (file)
@@ -19,5 +19,6 @@ wrblenfile_env.Append (CPPPATH = ['.',
                                   '../readstreamglue',
                                   '../readblenfile'])
 
+wrblenfile_env.Append (CPPPATH = user_options_dict['Z_INCLUDE'])
 wrblenfile_env.Append (CPPPATH = extra_includes)
 wrblenfile_env.Library (target='#'+user_options_dict['BUILD_DIR']+'/lib/blender_writeblenfile', source=source_files)
index aa2d4d10e2ea875fbe82ce1cb57a4039242c803e..0973f2714e055290875c6aae78cf2e23ad9a4e91 100644 (file)
@@ -20,6 +20,7 @@ wrstrgl_env.Append (CPPPATH = ['.',
                                '../deflate',
                                '../writeblenfile',
                                '../../kernel/gen_messaging'])
+wrstrgl_env.Append (CPPPATH = user_options_dict['Z_INCLUDE'])
 
 wrstrgl_env.Append (CPPPATH = extra_includes)
 wrstrgl_env.Library (target='#'+user_options_dict['BUILD_DIR']+'/lib/blender_writestreamglue', source=source_files)
index 0d5804cf5ac029b4a7de03da0272c2cef71a907e..5048d1637318e0e8e7eb2a147de447f6f6e6b976 100755 (executable)
@@ -4,7 +4,6 @@ phy_ode_env = Environment()
 Import ('cflags')
 Import ('cxxflags')
 Import ('defines')
-Import ('ode_include')
 Import ('user_options_dict')
 phy_ode_env.Append (CCFLAGS = cflags)
 phy_ode_env.Append (CXXFLAGS = cxxflags)
@@ -15,7 +14,7 @@ source_files = ['OdePhysicsController.cpp',
 
 phy_ode_env.Append (CPPPATH=['.',
                              '../common',
-                             ode_include
                             ])
+phy_ode_env.Append (CPPPATH=['ODE_INCLUDE'])
 
 phy_ode_env.Library (target='#'+user_options_dict['BUILD_DIR']+'/lib/PHY_Ode', source=source_files)