Mercurial > fife-parpg
view ext/SConscript @ 644:b84dbc4665b0
loaders extension can now handle multiple loaders for different filetypes. A difference between map and object files is now being made!
Fixed a small redundancy in the guimanager.
Added clearResourceLoaders() to the Pool class. This can be used if different resourceloaders have to be added at a later point in time (running editor for example, a plugin might want to have it's own loader added)
author | nihathrael@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Mon, 11 Oct 2010 22:20:00 +0000 |
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)