diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-01-28 09:35:39 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-11-23 23:31:38 +0100 |
| commit | 6ad57df31007ba3329d2a5c1e97eb8e29558c7be (patch) | |
| tree | 349406df43fcffdbedb5a85996f8672fa0f7701d /cscript | |
| parent | cebedb3c618be1d8fa5ad0678a0ce4351e14b2eb (diff) | |
Add cscript file.
Diffstat (limited to 'cscript')
| -rw-r--r-- | cscript | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -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') |
