Changeset 150 for cafu/trunk/SConstruct

Show
Ignore:
Timestamp:
09/03/10 16:08:16 (21 months ago)
Author:
Carsten
Message:

Even more 64-bit Windows build fixes.
These changes complete the port of Cafu to 64-bit Windows! :-D

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • cafu/trunk/SConstruct

    r140 r150  
    265265# debug builds are available (i.e. the code below fails if neither "d" nor "r" is in BVs). 
    266266if sys.platform=="win32": 
    267     envRelease.Install(".", ["#/ExtLibs/Cg/bin/cg.dll", "#/ExtLibs/Cg/bin/cgGL.dll"]); 
    268     envRelease.Install(".", ["#/ExtLibs/fmod/api/fmod.dll"]); 
     267    if envCommon["TARGET_ARCH"]=="x86": 
     268        envRelease.Install(".", ["#/ExtLibs/Cg/bin/cg.dll", "#/ExtLibs/Cg/bin/cgGL.dll"]); 
     269        envRelease.Install(".", ["#/ExtLibs/fmod/api/fmod.dll"]); 
     270    else: 
     271        envRelease.Install(".", ["#/ExtLibs/Cg/bin.x64/cg.dll", "#/ExtLibs/Cg/bin.x64/cgGL.dll"]); 
     272 
    269273    envRelease.Install(".", ["#/ExtLibs/openal-win/OpenAL32.dll", "#/ExtLibs/openal-win/wrap_oal.dll"]); 
    270274