summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cscript12
1 files changed, 12 insertions, 0 deletions
diff --git a/cscript b/cscript
new file mode 100644
index 0000000..22be13a
--- /dev/null
+++ b/cscript
@@ -0,0 +1,12 @@
+
+def build(target, options):
+ cmd = './waf configure --prefix=%s ' % target.directory
+ if target.platform == 'linux':
+ cmd += ' --static'
+ elif target.platform == 'windows':
+ cmd += f' --target-windows-{target.bits}'
+
+ target.append_with_space('LIBS', '-lboost_system')
+ target.append_with_space('LIBS', '-lboost_filesystem')
+ target.command(cmd)
+ target.command('./waf build install')