diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2016-10-05 16:44:37 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2016-10-17 21:07:56 +0300 |
commit | 639e679564f8401a6aa5d9233cda0c1618c40fd3 (patch) | |
tree | cf2e09a590081f9bc53982cc3edf7a5c405d365e /buildfile | |
parent | 842df807e704d07410fbff166e957478154ef3e6 (diff) |
Add msvc-filter utility
Diffstat (limited to 'buildfile')
-rw-r--r-- | buildfile | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/buildfile b/buildfile new file mode 100644 index 0000000..6d1467c --- /dev/null +++ b/buildfile @@ -0,0 +1,28 @@ +# file : buildfile +# copyright : Copyright (c) 2014-2016 Code Synthesis Ltd +# license : MIT; see accompanying LICENSE file + +define sh: file +sh{*}: extension = +sh{*}: install = bin/ + +s = cl-11 cl-12 cl-14 cl-14u2 \ + lib-11 lib-12 lib-14 lib-14u2 \ + link-11 link-12 link-14 link-14u2 \ + msvc-11 msvc-12 msvc-14 msvc-14u2 \ + mt-11 mt-12 mt-14 mt-14u2 \ + rc-11 rc-12 rc-14 rc-14u2 \ + \ + msvc-cl-common msvc-common msvc-lib-common \ + msvc-link-common msvc-mt-common msvc-rc-common + +./: exe{msvc-filter} sh{$s} doc{INSTALL LICENSE NEWS README version} \ + file{manifest} + +import libs = libbutl%lib{butl} + +exe{msvc-filter}: cxx{msvc-filter} $libs + +# Don't install INSTALL file. +# +doc{INSTALL}@./: install = false |