summaryrefslogtreecommitdiffstats
path: root/tolua++-1.0.93/src/bin/SCsub
diff options
context:
space:
mode:
Diffstat (limited to 'tolua++-1.0.93/src/bin/SCsub')
-rw-r--r--tolua++-1.0.93/src/bin/SCsub12
1 files changed, 12 insertions, 0 deletions
diff --git a/tolua++-1.0.93/src/bin/SCsub b/tolua++-1.0.93/src/bin/SCsub
new file mode 100644
index 000000000..35ccd7a24
--- /dev/null
+++ b/tolua++-1.0.93/src/bin/SCsub
@@ -0,0 +1,12 @@
+Import('env')
+
+src = [
+ env.Object('tolua.c'),
+ ]
+
+
+toluabind = env.LuaBinding('toluabind.c', 'tolua_scons.pkg', 'tolua', bootstrap = True)
+
+env.bin_target = env.Program('#/bin/'+env['tolua_bin'], src + [toluabind], LIBS = ['$tolua_lib'] + env['LIBS'])
+
+env.bootstrap_target = env.Program('#/bin/'+env['TOLUAPP_BOOTSTRAP'], src + ['toluabind_default.c', env.lib_target_static], LIBS = env['LIBS'])