blob: 5592ec488c5ba5a12732a2f47d8757e2997b9b19 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
toolsets = vs2013;
shared-library botan {
defines = "BOTAN_DLL=__declspec(dllexport)";
%{for lib_srcs}
sources { %{i} }
%{endfor}
}
program cli {
deps = botan;
%{for cli_srcs}
sources { %{i} }
%{endfor}
%{for cli_headers}
headers { %{i} }
%{endfor}
}
program tests {
deps = botan;
%{for test_srcs}
sources { %{i} }
%{endfor}
}
includedirs += build/include/;
includedirs += build/include/external;
%{for libs_used}
libs += "%{i}";
%{endfor}
archs = %{bakefile_arch};
vs2013.option.ClCompile.DisableSpecificWarnings = "4250;4251;4275";
vs2013.option.ClCompile.WarningLevel = Level4;
vs2013.option.ClCompile.ExceptionHandling = SyncCThrow;
vs2013.option.ClCompile.RuntimeTypeInfo = true;
if ( $(config) == Release ) {
vs2013.option.Configuration.WholeProgramOptimization = true;
}
|