aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-12-10 16:23:09 -0500
committerJack Lloyd <[email protected]>2017-12-10 16:23:09 -0500
commita299f08b004460a93fd89156c1e20807ad35645d (patch)
tree85feb0380b26d96527500164e6288cfc315b875a /src/build-data
parent538226ac37d2b54702830fc96abd7e374f0fdc9c (diff)
Tweak the bakefile output a bit
Multiple files can be listed in the sources {} block, so do that.
Diffstat (limited to 'src/build-data')
-rw-r--r--src/build-data/bakefile.in27
1 files changed, 19 insertions, 8 deletions
diff --git a/src/build-data/bakefile.in b/src/build-data/bakefile.in
index 5592ec488..a1c0ff134 100644
--- a/src/build-data/bakefile.in
+++ b/src/build-data/bakefile.in
@@ -1,25 +1,36 @@
toolsets = vs2013;
shared-library botan {
- defines = "BOTAN_DLL=__declspec(dllexport)";
+ defines = "BOTAN_DLL=__declspec(dllexport)";
+ sources {
%{for lib_srcs}
- sources { %{i} }
+ %{i}
%{endfor}
+ }
}
+
program cli {
- deps = botan;
+ deps = botan;
+ sources {
%{for cli_srcs}
- sources { %{i} }
+ %{i}
%{endfor}
+ }
+
+ headers {
%{for cli_headers}
- headers { %{i} }
+ %{i}
%{endfor}
+ }
}
+
program tests {
- deps = botan;
+ deps = botan;
+ sources {
%{for test_srcs}
- sources { %{i} }
+ %{i}
%{endfor}
+ }
}
includedirs += build/include/;
@@ -36,5 +47,5 @@ vs2013.option.ClCompile.WarningLevel = Level4;
vs2013.option.ClCompile.ExceptionHandling = SyncCThrow;
vs2013.option.ClCompile.RuntimeTypeInfo = true;
if ( $(config) == Release ) {
-vs2013.option.Configuration.WholeProgramOptimization = true;
+ vs2013.option.Configuration.WholeProgramOptimization = true;
}