diff options
author | Jack Lloyd <[email protected]> | 2017-12-10 16:23:09 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2017-12-10 16:23:09 -0500 |
commit | a299f08b004460a93fd89156c1e20807ad35645d (patch) | |
tree | 85feb0380b26d96527500164e6288cfc315b875a /src/build-data | |
parent | 538226ac37d2b54702830fc96abd7e374f0fdc9c (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.in | 27 |
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; } |