this is going to be magnificent if I can manage it
[QuestHelper.git] / SConstruct
blob1231f100742f002983bf077ade7b662ba91926ff
2 import os
4 env = DefaultEnvironment()
5 for param in os.environ.keys():
6 env['ENV'][param] = os.environ[param]
8 def command(name, deps, line):
9 AlwaysBuild(Alias(name, deps, line))
11 lib = SharedLibrary(target = "compile_core", source = ["compile_core.cpp"], CPPPATH="/usr/include/lua5.1", LIBS=["luabind", "png"], CXXFLAGS="-g", LINKFLAGS="-g")
12 command("compile", lib, "luajit -O2 compile.lua master localhostx5")
13 command("compile_local", lib, "luajit -O2 compile.lua")