Changeset 47

Show
Ignore:
Timestamp:
03/26/10 00:24:11 (23 months ago)
Author:
Carsten
Message:

SCons build system:
Explicitly instruct SCons to detect and use the Microsoft Platform SDK for the build environments, as it is not among the default tools.
See thread "Scons 2010/01/17 doesn't look for MS SDK?" at < http://scons.tigris.org/ds/viewMessage.do?dsForumId=1272&dsMessageId=2455554> for further information.

This fixes #22, but note that the solution is actually two-fold:
SCons version 1.3.0 or higher is also required, at least with Visual C++ 8 (2005) Express Edition.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • cafu/trunk/SConstruct

    r36 r47  
    8282            LINKFLAGS = Split("/nologo /incremental:no")) 
    8383 
     84        # Explicitly instruct SCons to detect and use the Microsoft Platform SDK, as it is not among the default tools. 
     85        # See thread "Scons 2010/01/17 doesn't look for MS SDK?" at <http://scons.tigris.org/ds/viewMessage.do?dsForumId=1272&dsMessageId=2455554> 
     86        # for further information. 
     87        envCommon.Tool('mssdk') 
     88 
    8489        # Environment for debug builds: 
    8590        envDebug=envCommon.Clone(); 
     
    109114            CPPDEFINES = ["_CRT_SECURE_NO_DEPRECATE", "_CRT_NONSTDC_NO_DEPRECATE"], 
    110115            LINKFLAGS = Split("/nologo /incremental:no")) 
     116 
     117        # Explicitly instruct SCons to detect and use the Microsoft Platform SDK, as it is not among the default tools. 
     118        # See thread "Scons 2010/01/17 doesn't look for MS SDK?" at <http://scons.tigris.org/ds/viewMessage.do?dsForumId=1272&dsMessageId=2455554> 
     119        # for further information. 
     120        envCommon.Tool('mssdk') 
    111121 
    112122        # Environment for debug builds: