<commit_before>:: This script initializes various Visual Studio envinronment variables needed for building
@echo off
set GENERATOR=%1%
::IF "%GENERATOR%"=="" echo Generator not passed! Batch script will most likely fail.
:: TODO Utilize BUILD_TYPE
::set BUILD_TYPE=%2%
::set BUILD_TYPE_RELEASE=Release
::set BUILD_TYPE_RELWITHDEBINFO=RelWithDebInfo
::set BUILD_TYPE_DEBUG=Debug

:: Supported Visual Studio versions
::set GENERATOR_VS2012="Visual Studio 11"
set GENERATOR_VS2010="Visual Studio 10"
set GENERATOR_VS2008="Visual Studio 9 2008"

:: VS_VER is a convenience define used f.ex. for filenames<commit_msg>VSConfig.cmd. default to VS2008 if generator is not passed as a command-line argument. This should prevent windows-build-*.cmd failing.<commit_after>:: This script initializes various Visual Studio -related envinronment variables needed for building
@echo off

:: Supported Visual Studio versions
::set GENERATOR_VS2012="Visual Studio 11"
set GENERATOR_VS2010="Visual Studio 10"
set GENERATOR_VS2008="Visual Studio 9 2008"
set GENERATOR_DEFAULT=%GENERATOR_VS2008%

set GENERATOR=%1
IF "%GENERATOR%"=="" (
    set GENERATOR=%GENERATOR_DEFAULT%
    utils-windows\cecho {0E}VSConfig.cmd: Warning: Generator not passed - using the default %GENERATOR_DEFAULT%.{# #}{\n}
)
:: TODO Utilize BUILD_TYPE
::set BUILD_TYPE=%2%
::set BUILD_TYPE_RELEASE=Release
::set BUILD_TYPE_RELWITHDEBINFO=RelWithDebInfo
::set BUILD_TYPE_DEBUG=Debug

:: VS_VER is a convenience define used f.ex. for filenames
{'fraction_non_alphanumeric': 0.09297658862876254, 'fraction_numerical': 0.03678929765886288, 'mean_word_length': 6.711340206185567, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '1732944', 'n_tokens_mistral': 508, 'n_tokens_neox': 445, 'n_words': 152}