aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data/cc/msvc.txt
blob: 30b795a575e0a69defbccc51d10b8ab32a01e747 (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
macro_name MSVC

binary_name cl
linker_name link

output_to_option "/Fo"
add_include_dir_option "/I"
add_lib_dir_option -L
add_lib_option ""

compile_flags_release "/nologo /c /bigobj /O2"
compile_flags_debug   "/nologo /c /bigobj /Od /Zi /FS /DEBUG"
app_opt_flags_release "/D_CONSOLE"
app_opt_flags_debug   "/D_CONSOLE"

lang_flags "/EHs /GR"
warning_flags "/W3 /wd4275 /wd4267"

visibility_build_flags "/DBOTAN_DLL=__declspec(dllexport)"
visibility_attribute "__declspec(dllimport)"

ar_command lib

makefile_style nmake

<isa_flags>
sse2   -> ""
ssse3  -> ""
sse4.1 -> ""
sse4.2 -> ""
x86_64:avx2   -> ""
bmi2   -> ""
aesni  -> ""
clmul  -> ""
rdrand -> ""
</isa_flags>

<so_link_flags>
default       -> "$(LINKER) /DLL"
default-debug -> "$(LINKER) /DLL /DEBUG"
</so_link_flags>

<binary_link_command>
default       -> "$(LINKER)"
default-debug -> "$(LINKER) /DEBUG"
</binary_link_command>

<mach_abi_linking>
all       -> "/MD"
all-debug -> "/MDd"
</mach_abi_linking>