blob: 25e39d222737fa097e385ac6c44b94549136c5c6 (
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
|
macro_name MSVC
binary_name cl
linker_name link
output_to_object "/Fo"
output_to_exe "/OUT:"
add_include_dir_option "/I"
add_lib_dir_option "/LIBPATH:"
add_compile_definition_option "/D"
add_lib_option "%s.lib"
compile_flags "/nologo /c"
optimization_flags "/O2 /Oi"
size_optimization_flags "/O1 /Os"
# for debug info in the object file:
#debug_info_flags "/Z7"
# for using a PDB file:
debug_info_flags "/Zi /FS"
preproc_flags "/nologo /EP"
lang_flags "/EHs /GR"
# 4250: diamond inheritence warning
# 4251: STL types used in DLL interface
# 4275: ???
# 4127: conditional expression is constant, consider using if constexpr
warning_flags "/W4 /wd4250 /wd4251 /wd4275 /wd4127"
werror_flags "/WX"
visibility_build_flags "/DBOTAN_DLL=__declspec(dllexport)"
visibility_attribute "__declspec(dllimport)"
ar_command lib
ar_options "/nologo"
ar_output_to "/OUT:"
<sanitizers>
default -> iterator
iterator -> "/D_ITERATOR_DEBUG_LEVEL=1"
</sanitizers>
<isa_flags>
sse2 -> ""
ssse3 -> ""
sse41 -> ""
sse42 -> ""
x86_64:avx2 -> "/arch:AVX"
bmi2 -> ""
aesni -> ""
clmul -> ""
rdrand -> ""
rdseed -> ""
sha -> ""
</isa_flags>
<lib_flags>
debug -> "/Fd%{build_dir}/%{libname}%{lib_suffix}.pdb"
</lib_flags>
<so_link_commands>
default -> "$(LINKER) /DLL"
default-debug -> "$(LINKER) /DLL /DEBUG"
</so_link_commands>
<binary_link_commands>
default -> "$(LINKER)"
default-debug -> "$(LINKER) /DEBUG"
</binary_link_commands>
<mach_abi_linking>
all -> "/bigobj"
# These can be overridden with --msvc-runtime option
rt -> "/MD"
rt-debug -> "/MDd"
</mach_abi_linking>
|