Mercurial > fife-parpg
view ext/SConscript @ 695:47d58c7a95d7
Fixed a bug in VFSDirectory that prevented absolute paths from being resolved.
* Modified the VFSDirectory constructor so that it now adds the drive root as the VFS root by default, instead of the current working directory.
* Added the current working directory to the VFS in Engine::preInit in addition to the default drive root.
* Reverted a change to EventManager::processMouseEvent which prevents GUIChan from grabbing mouse input. The fact that GUIChan grabs all mouse input will need to be addressed once the GUI code is modularized.
author | M. George Hansen <technopolitica@gmail.com> |
---|---|
date | Fri, 10 Jun 2011 23:36:14 -1000 |
parents | b5e7e14004a4 |
children |
line wrap: on
line source
import os, sys, shutil from utils.util_scripts.path import path Import('env') curpath = Dir('#/ext').srcnode().abspath installpath = Dir(os.path.join(curpath, 'install')).srcnode().abspath def build_guichan(target, source, env): print "======= FIFE EXTERNAL DEPENDENCY BUILD: GUICHAN =======" failure = Execute(Action(['./configure', 'make', 'make install prefix=%s' % installpath], chdir=os.path.join(curpath, 'guichan-0.8.2'))) if (failure): print 'Building failed: guichan' Exit(1) ext_cmd = env.Command('ext_target', 'install', [build_guichan, os.chdir(Dir('#').abspath)]) Alias('ext', ext_cmd)