aboutsummaryrefslogtreecommitdiff
path: root/libbutl/buildfile
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-07-12 19:05:09 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-07-12 19:05:09 +0300
commit6deaa52d27ffd9e3ff2f78d7395526505c455416 (patch)
treece322a5de4a109e847157a3178a3896d98fc7090 /libbutl/buildfile
parent85c73376331a4c0e17cbc1e0d8c42039635feb68 (diff)
Make use of wildcards in buildfiles
Diffstat (limited to 'libbutl/buildfile')
-rw-r--r--libbutl/buildfile57
1 files changed, 7 insertions, 50 deletions
diff --git a/libbutl/buildfile b/libbutl/buildfile
index 28cbc7b..c4b949d 100644
--- a/libbutl/buildfile
+++ b/libbutl/buildfile
@@ -2,63 +2,20 @@
# copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
# license : MIT; see accompanying LICENSE file
-lib{butl}: \
- {hxx cxx}{ base64 } \
- {hxx ixx cxx}{ char-scanner } \
- {hxx }{ const-ptr } \
- {hxx ixx txx cxx}{ curl } \
- {hxx cxx}{ diagnostics } \
- {hxx }{ export } \
- {hxx ixx cxx}{ fdstream } \
- {hxx ixx cxx}{ filesystem } \
- {hxx }{ manifest-forward } \
- {hxx cxx}{ manifest-parser } \
- {hxx cxx}{ manifest-serializer } \
- {hxx }{ multi-index } \
- {hxx ixx txx cxx}{ openssl } \
- {hxx }{ optional } \
- {hxx cxx}{ pager } \
- {hxx ixx txx cxx}{ path } \
- {hxx }{ path-io } \
- {hxx }{ path-map } \
- {hxx txx }{ prefix-map } \
- {hxx ixx cxx}{ process } \
- {hxx }{ process-details } \
- {hxx }{ process-io } \
- { txx cxx}{ process-run } \
- {hxx txx cxx}{ regex } \
- {hxx ixx cxx}{ sendmail } \
- {hxx cxx}{ sha256 } \
- {hxx }{ small-vector } \
- {hxx ixx cxx}{ standard-version } \
- {hxx cxx}{ string-parser } \
- {hxx txx }{ string-table } \
- {hxx cxx}{ tab-parser } \
- {hxx cxx}{ target-triplet } \
- {hxx cxx}{ timestamp } \
- {hxx ixx cxx}{ utility } \
- {hxx }{ vector-view } \
- {hxx }{ version } \
-ft/{hxx }{ exception } \
-ft/{hxx }{ lang } \
-ft/{hxx }{ shared_mutex }
+lib{butl}: {hxx ixx txx cxx}{** -win32-utility -version} {hxx}{version}
# Exclude these from compilation on non-Windows targets.
#
if ($cxx.target.class == "windows")
- lib{butl}: {hxx cxx}{ win32-utility }
+ lib{butl}: {hxx cxx}{win32-utility}
else
- lib{butl}: file{ win32-utility.hxx win32-utility.cxx }
+ lib{butl}: file{win32-utility.?xx}
-# This one is included into sha256.cxx so treat it as file to exclude
-# from the compilation.
+# The C-files are included into sha256.cxx (sha256c.c) and timestamp.cxx
+# (strptime.c timelocal.h timelocal.c), so treat them as files to exclude from
+# the compilation.
#
-lib{butl}: file{sha256c.c}
-
-# These ones are included into timestamp.cxx so treat them as files to exclude
-# from the compilation.
-#
-lib{butl}: file{strptime.c timelocal.h timelocal.c}
+lib{butl}: file{*.c +*.h}
hxx{version}: in{version} $src_root/file{manifest}
hxx{version}: dist = true