projects
/
asdcplib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cebedb3
)
Add cscript file.
author
Carl Hetherington
<cth@carlh.net>
Thu, 28 Jan 2016 09:35:39 +0000
(09:35 +0000)
committer
Carl Hetherington
<cth@carlh.net>
Mon, 23 Nov 2020 22:31:38 +0000
(23:31 +0100)
cscript
[new file with mode: 0644]
patch
|
blob
diff --git a/cscript
b/cscript
new file mode 100644
(file)
index 0000000..
d97e1d9
--- /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 += ' --target-windows'
+
+ target.append_with_space('LIBS', '-lboost_system')
+ target.append_with_space('LIBS', '-lboost_filesystem')
+ target.command(cmd)
+ target.command('./waf build install')