diff options
author | Nathan Letwory <nathan@letworyinteractive.com> | 2008-10-31 02:55:07 +0300 |
---|---|---|
committer | Nathan Letwory <nathan@letworyinteractive.com> | 2008-10-31 02:55:07 +0300 |
commit | 0bd7934be731aba65680c7fe59f2d89a06391899 (patch) | |
tree | f9921663c42acbf44925ad2bcbf498a35188024f /config | |
parent | dca18fc332f6b4e18e8cf826fd15db3fe321aafc (diff) |
* Minimum SCons version is now 1.0.0
- Code has been changed to reflect this (ie. deprecated functions are not anymore used)
* clean up the C and C++ compiler flags mess.
- in the environment construction of BlenderLib all the compile flag governing options have been split in the *C*, *CC* and *CXX* containing equivalents.
C is for C compiler only flags. CC is for C and C++ compiler flags and CXX is for C++ compiler only flags.
All the platform default config files need to be double checked and fixed wherever it looks necessary. Either DIY, or send me a note with needed changes.
- a start for the BlenderLib parameter list has been made - all the SConscripts need to be checked and modified to hand in flags properly.
* A theeth request: make -jN settable in the config file.
- I give you BF_NUMJOBS, which is set to 1 by default. In your user-config.py, set BF_NUMJOBS=4 to have 4 parallel jobs handled. Yay.
Diffstat (limited to 'config')
-rw-r--r-- | config/win32-vc-config.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/config/win32-vc-config.py b/config/win32-vc-config.py index ec401e3ad57..6cc09748a10 100644 --- a/config/win32-vc-config.py +++ b/config/win32-vc-config.py @@ -162,13 +162,16 @@ CXX = 'cl.exe' CCFLAGS = ['/nologo', '/Ob1', '/J', '/W3', '/Gd', '/MT'] -BF_DEBUG_FLAGS = ['/Zi', '/FR${TARGET}.sbr'] +BF_DEBUG_CCFLAGS = ['/Zi', '/FR${TARGET}.sbr'] CPPFLAGS = ['-DWIN32','-D_CONSOLE', '-D_LIB', '-DFTGL_LIBRARY_STATIC', '-D_CRT_SECURE_NO_DEPRECATE'] REL_CFLAGS = ['-O2', '-DNDEBUG'] REL_CCFLAGS = ['-O2', '-DNDEBUG'] +REL_CXXFLAGS = ['-O2', '-DNDEBUG'] + C_WARN = [] CC_WARN = [] +CXX_WARN = [] LLIBS = 'ws2_32 vfw32 winmm kernel32 user32 gdi32 comdlg32 advapi32 shfolder shell32 ole32 oleaut32 uuid' |