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

binary_name cl

compile_option "/nologo /c "
output_to_option "/Fo"
add_include_dir_option "/I"
add_lib_dir_option -L
add_lib_option ""

no_debug_flags "/O2"
debug_flags "/Od /Zi /DDEBUG"
check_opt_flags "/O2 /D_CONSOLE"
lang_flags "/EHsc /GR"
warning_flags ""

shared_flags "/DBOTAN_DLL=__declspec(dllexport)"
dll_import_flags "__declspec(dllimport)"

ar_command lib

makefile_style nmake

<so_link_flags>
default -> "$(CXX) /LD"
</so_link_flags>

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