<commit_before>macro_name MSVC

binary_name cl
linker_name link

output_to_option "/Fo"
add_include_dir_option "/I"
add_lib_dir_option "/LIBPATH:"
add_lib_option ""

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"

lang_flags "/EHs /GR"
warning_flags "/W4 /wd4250 /wd4251 /wd4275"

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

ar_command lib
ar_options ""

makefile_style nmake

<isa_flags>
sse2   -> ""
ssse3  -> ""
sse4.1 -> ""
sse4.2 -> ""
x86_64:avx2   -> ""
bmi2   -> ""
aesni  -> ""
clmul  -> ""
rdrand -> ""
rdseed -> ""
</isa_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       -> "/MD /bigobj"<commit_msg>Use this to prevent fallback to Unix ar default args<commit_after>macro_name MSVC

binary_name cl
linker_name link

output_to_option "/Fo"
add_include_dir_option "/I"
add_lib_dir_option "/LIBPATH:"
add_lib_option ""

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"

lang_flags "/EHs /GR"
warning_flags "/W4 /wd4250 /wd4251 /wd4275"

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

ar_command lib
ar_options "/nologo"

makefile_style nmake

<isa_flags>
sse2   -> ""
ssse3  -> ""
sse4.1 -> ""
sse4.2 -> ""
x86_64:avx2   -> ""
bmi2   -> ""
aesni  -> ""
clmul  -> ""
rdrand -> ""
rdseed -> ""
</isa_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       -> "/MD /bigobj"
{'fraction_non_alphanumeric': 0.1513589503280225, 'fraction_numerical': 0.026241799437675725, 'mean_word_length': 4.09546539379475, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 47, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4523367', 'n_tokens_mistral': 892, 'n_tokens_neox': 844, 'n_words': 185}