aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data/cc/msvc.txt
blob: c19d93e2b0c74f88dcd1135c8c31c28a2dec9310 (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
realname "Visual C++"

macro_name "MSVC"

binary_name "cl.exe"

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

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

dll_import_flags "__declspec(dllimport)"
dll_export_flags "__declspec(dllexport)"

ar_command "lib"

makefile_style nmake

<so_link_flags>
default -> "link /DLL"
</so_link_flags>